Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3113

Add public API factories to create BrowserDriver and BrowserStateAsserter

Details

    Description

      Currently, BrowserDriver and BrowserStateAsserter can only be created by classes that extend IntegrationTesterBase. In the rare cases where tests (like InputDateTimeMobileBrowserTester) need to use a different BrowserDriver (for mobile emulation etc.), IntegrationTesterBase unnecessarily creates a BrowserDriver that is unused by the tests. Tests which require their own instance of BrowserDriver should not extend IntegrationTesterBase, but for now they must since that is the only way to access the newBrowserDriver() and newBrowserStateAsserter() methods. This task involves extracting out those methods and creating factories for them.

      Attachments

        Activity

          People

            kyle.stiemann Kyle Stiemann (Inactive)
            kyle.stiemann Kyle Stiemann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                alloy-2.0.1
                alloy-3.0.1
                test-selenium-0.4.0