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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-milestone-1
    • Fix Version/s: 4.0-milestone-2
    • Component/s: Test Framework
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved: