Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 3.9.1
-
Fix Version/s: None
-
Component/s: Core
-
Labels:None
-
Number of attachments :
Description
Because the Lifecycle object containing all the before/after steps runs as a separate thing, if any of those steps needs data from the examples table of each scenario, it will not be found
Example
Lifecycle:
Before:
Given that I am looged as <user>
Scenario: test
When I do something
Then bleh
Examples:
user | password |
userA | passwordA |
userB | passwordB |
in this example the runner will not find a matching step because the method for the log in is expecting data, but because the step is in the lifecycle the examples table is not provided to it