Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-7625

Allow to skip tests using annotation and allow version to be mentioned in annotation when skipping a test

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.0-milestone-2
    • 4.0-milestone-1
    • Test Framework
    • None
    • Unknown

    Description

      In order to be able to skip a certain version of a browser, we need a version parameter in the IgnoreBrowser annotation
      for example: skip test on Firefox 11: @IgnoreBrowser(value = "firefox", version ="11.0", reason="some reason")
      Not specifying a version, will make the test skip no matter the version of the browser

      • Added version parameter to IgnoreBrowser annotation.
      • Updated the BrowserMethodRule to take in account the version parameter value
      • Enable BrowserMethodRule to be used from our UI tests

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            sorinello Sorin Burjan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: