Expected behavior
Do not use the same TestContext for all Cucumber feature scenarios but create a fresh context for each scenario.
Actual behavior
The Cucumber Spring object factory provided by Citrus uses a singleton TestContext for all scenarios executed. This leads to unexpected behavior as scenarios influence each other when sharing the same context (e.g. when reporting exceptions to the context)
Citrus Version 4.1.1
Expected behavior Do not use the same TestContext for all Cucumber feature scenarios but create a fresh context for each scenario.
Actual behavior The Cucumber Spring object factory provided by Citrus uses a singleton TestContext for all scenarios executed. This leads to unexpected behavior as scenarios influence each other when sharing the same context (e.g. when reporting exceptions to the context)