Dave Carey created JBEHAVE-696: ---------------------------------- Summary: SeleniumContextStoryReporter has issues tracking the current Scenario when using GivenStories Key: JBEHAVE-696 URL: https://jira.codehaus.org/browse/JBEHAVE-696 Project: JBehave Issue Type: Improvement Components: Web Selenium Affects Versions: web-3.4.3 Reporter: Dave Carey Priority: Minor
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 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email