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

InputDateTimeMobileTester opens unnecessary default browser when running as a standalone test

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: alloy-2.0.0, alloy-3.0.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      InputDateTimeMobileBrowserTester manages its own BrowserDriver instances, so it does not use the default BrowserDriver which is set up by BrowserDriverManagingTesterBase (IntegrationTesterBase on older releases). When InputDateTimeMobileBrowserTester is run alone, the default browser is still opened.

      Steps to reproduce:

      1. Run InputDateTimeMobileBrowserTester as a standalone test:

      mvn verify -P selenium,firefox -Dit.test=*InputDateTimeMobileBrowserTester*
      

      If the bug still exists, 3 instances of Firefox will open during the test. If the bug is fixed, only 2 instances of Firefox will open.

      To fix this bug, utility methods in the JSF Showcase's TesterBase class would need to be extracted to a utility class, and InputDateTimeMobileBrowserTester would need to use those utility methods and not extend TesterBase.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Packages

                  Version Package