When accessing the stepContext within a Background Given/When/Then it is only correct for the first Scenario. Subsequent calls to the Background make use of the stepContext that was last set in the Scenario. The issue is that the stepContext is not reset to the Backgrounds stepContext on subsequent calls.
When accessing the stepContext within a Background Given/When/Then it is only correct for the first Scenario. Subsequent calls to the Background make use of the stepContext that was last set in the Scenario. The issue is that the stepContext is not reset to the Backgrounds stepContext on subsequent calls.