Details
-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: web-3.4.3
-
Fix Version/s: None
-
Component/s: Web Selenium
-
Labels:None
-
Number of attachments :
Description
Given a story with a GivenStories directive such as this
Scenario: RESET CUSTOMER SEARCH BUTTON SHOULD CLEAR RESULTS
===========================================================
GivenStories: dw/grapevine/stories/customer/search/SearchByFirstAndLastName.story
When the user clicks on the reset button
Then all the search input fields should be cleared
SeleniumContextStoryReporter will lose track of the current scenario and report all steps as belonging to the GivenStories scenario.
I'm pretty sure this is because it only implements the 'beforeScenario' method.
It would be useful if it could also implement the 'afterScenario' method and reset the currentScenario correctly