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
ashleyfrieze
changed the title
Behaviour of let is incorrect within a Gherkin Scenario
Behaviour of let and with is incorrect within a Gherkin Scenario and ScenarioOutlineSep 22, 2017
The code for propagating hooks allowed atomic hooks to drop down through a Suite that was itself atomic. You would not expect let to get a fresh answer for each sub-step of a Scenario but you were.
The scenarioOutline was just using describe to create each instance of the Scenario for each example, making it NOT create a composite test, making the above not work, even if it had been working
The application of blockConfiguration was only implemented for describe not for scenario - root cause was some code duplication with the correct answer only in one place.
@greghaskins - I'd like to consider a patch release, which is why I've made the changes on a branch off our last release. We may not be ready for releasing master yet, as I think some more work on timeout would be a good idea. I think we SHOULD release these fixes after you've reviewed them.
It appears that
let
is running for each sub-step, which is not as intended.I'll rush out a fix when I can find one.
The text was updated successfully, but these errors were encountered: