JBehave
  1. JBehave
  2. JBEHAVE-696

SeleniumContextStoryReporter has issues tracking the current Scenario when using GivenStories

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: web-3.4.3
    • Fix Version/s: None
    • Component/s: Web Selenium
    • Labels:
      None
    • Number of attachments :
      0

      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

        Activity

        There are no entries against this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Dave Carey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: