features/demo06.feature in macros4cuke-0.3.38 vs features/demo06.feature in macros4cuke-0.3.39
- old
+ new
@@ -12,14 +12,20 @@
And I fill in "last_name" with "<lastname>"
And I fill in "street_address" with "<street_address>"
And I fill in "zip" with "<postcode>"
And I fill in "city" with "<city>"
And I fill in "country" with "<country>"
- # Let's assume that e-mail is optional
+
+ # Let's assume that the e-mail field is optional.
+ # The step between the <?email>...<email> will be executed
+ # when the argument <email> has a value assigned to it.
<?email>
And I fill in "email" with "<email>"
</email>
+
# Let's also assume that comment is also optional
+ # See the slightly different syntax: the conditional section
+ # <?comment>...<comment> may fit in a single line
<?comment> And I fill in "comment" with "<comment>"</comment>
And I click "Save"
"""