Before/after scenario steps and lifecycle steps are executed in wrong order

Description

When story contains Lifecycle Before/After steps, these are executed outside the BeforeScenario/AfterScenario scope for scenarios parametrised by example.

When the was implemented, runLifecycleSteps is called before runBeforeOrAfterScenarioSteps (and in the reverse order at the end).

Attached is patch with fix and test (patch is based on commit 95dcd85)

Assignee

Unassigned

Reporter

Daniel Kolman

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure