Details
Description
Problem Statement:
When I have a composite step that takes parameters for some of the steps but not others, then the StepCreator doesn't take that into account, and the Matcher throws and IllegalState exception because it has no groups.
Steps to Reproduce:
See attached TestCase
Recommended Change:
Only two changes in the StepCreator class, matchedParameters method.
Move the Hashmap creation to the beginning of the method, and put an if statement around the stepMatcher.find() statement. See altered method also attached.
Activity
Mauro Talevi
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Mauro Talevi [ maurotalevi ] | |
Fix Version/s | 3.6.8 [ 18557 ] |
Mauro Talevi
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Mauro Talevi
made changes -
Fix Version/s | 3.7 [ 18390 ] |
Applied patch with thanks.