Lifecycle steps not aware of examples table data

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

Activity

Show:
maxime le manach
February 22, 2018, 3:09 PM

Hello,

Do you have any plan for this issue ?

Thanks !

Assignee

Unassigned

Reporter

Bruno Bonanno

Labels

None

Components

Affects versions

Priority

Major
Configure