You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
None of the following steps will trigger the 'Nested step call' rule.
Given(/^a step that calls a step$/) do
step "another step"
end
Given(/^another step$/) do
step 'And yet another step'
end
Given(/^yet another step$/) do
'foo'
end
The first step seems to get ignored because it does not use a step keyword. Coincidentally, Cucumber does not allow keywords to be used for single step calls (e.g. step "another step" will run while step "When another step" will cause an error).
Even when a keyword is present, the nested step seems to get ignored unless double quotes are used (i.e. step "And yet another step" will trigger the rule while step 'And yet another step' will not).
The text was updated successfully, but these errors were encountered:
None of the following steps will trigger the 'Nested step call' rule.
The first step seems to get ignored because it does not use a step keyword. Coincidentally, Cucumber does not allow keywords to be used for single step calls (e.g.
step "another step"
will run whilestep "When another step"
will cause an error).Even when a keyword is present, the nested step seems to get ignored unless double quotes are used (i.e.
step "And yet another step"
will trigger the rule whilestep 'And yet another step'
will not).The text was updated successfully, but these errors were encountered: