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

PrimeFace Users Portlet tester fails when Chrome is used

    Details

      Description

      The PrimeFaces Users Portlet tester fails when Chrome is used:

      $ (cd test/integration/ && mvn verify -P selenium -Dintegration.browser.headless=false -Dit.test=*Prime*)
      [INFO] Scanning for projects...
      [INFO]
      [INFO] --< com.liferay.faces.test:com.liferay.faces.test.portal.integration >--
      [INFO] Building Liferay Faces Portal Integration Tests 3.0.2-SNAPSHOT
      [INFO] --------------------------------[ jar ]---------------------------------
      [INFO]
      [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ com.liferay.faces.test.portal.integration ---
      [INFO]
      [INFO] --- buildnumber-maven-plugin:1.1:create-timestamp (default) @ com.liferay.faces.test.portal.integration ---
      [INFO]
      [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ com.liferay.faces.test.portal.integration ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 0 resource
      [INFO]
      [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ com.liferay.faces.test.portal.integration ---
      [INFO] No sources to compile
      [INFO]
      [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ com.liferay.faces.test.portal.integration ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 2 resources
      [INFO]
      [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ com.liferay.faces.test.portal.integration ---
      [INFO] Nothing to compile - all classes are up to date
      [INFO]
      [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ com.liferay.faces.test.portal.integration ---
      [INFO] Surefire report directory: /home/kylestiemann/Projects/liferay.com/liferay-faces-portal/test/integration/target/surefire-reports
      
      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      
      Results :
      
      Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
      
      [INFO]
      [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ com.liferay.faces.test.portal.integration ---
      [INFO] Building jar: /home/kylestiemann/Projects/liferay.com/liferay-faces-portal/test/integration/target/com.liferay.faces.test.portal.integration-3.0.2-SNAPSHOT.jar
      [INFO]
      [INFO] --- maven-failsafe-plugin:2.19.1:integration-test (selenium-tests) @ com.liferay.faces.test.portal.integration ---
      
      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running com.liferay.faces.portal.test.integration.demo.PrimeFacesUsersPortletTester
      Starting ChromeDriver 2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752) on port 29825
      Only local connections are allowed.
      Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 48.228 sec <<< FAILURE! - in com.liferay.faces.portal.test.integration.demo.PrimeFacesUsersPortletTester
      runPrimeFacesUsersPortletTest_C_UsersFilter(com.liferay.faces.portal.test.integration.demo.PrimeFacesUsersPortletTester)  Time elapsed: 7.692 sec  <<< ERROR!
      org.openqa.selenium.WebDriverException:
      unknown error: Element <a href="#" class="ui-paginator-last ui-state-default ui-corner-all ui-state-disabled" aria-label="Last Page"tabindex="-1">...</a> is not clickable at point (1040, 137). Other element would receive the click: <div id="_1_WAR_primefacesusersportlet_:f1:users_paginator_top" class="ui-paginator ui-paginator-top ui-widget-header ui-corner-top" role="navigation" aria-label="Pagination">...</div>
        (Session info: chrome=66.0.3359.139)
        (Driver info: chromedriver=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752),platform=Linux 4.4.0-121-generic x86_64) (WARNING: The server did not provide any stacktrace information)
      Command duration or timeout: 36 milliseconds
      Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
      System info: host: 'kylestiemann-XPS-15-9530', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-121-generic',java.version: '1.8.0_144'
      Driver info: org.openqa.selenium.chrome.ChromeDriver
      Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.36.540471 (9c759b81a907e70363c6312294d30b6ccccc2752), userDataDir=/tmp/.org.chromium.Chromium.OZBN81}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=66.0.3359.139, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=false, acceptInsecureCerts=false, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, setWindowRect=true, unexpectedAlertBehaviour=}]
      Session ID: 56612dff84c2e25c229163678505d2fa
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
              at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
              at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
              at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
              at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:327)
              at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:85)
              at com.liferay.faces.test.selenium.browser.internal.BrowserDriverImpl.clickElement(BrowserDriverImpl.java:226)
              at com.liferay.faces.portal.test.integration.demo.PrimeFacesUsersPortletTester.runPrimeFacesUsersPortletTest_C_UsersFilter(PrimeFacesUsersPortletTester.java:300)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
              at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
              at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
              at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
              at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
              at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
              at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
              at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
              at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
              at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
              at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
              at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
              at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
      
      
      Results :
      
      Tests in error:
        PrimeFacesUsersPortletTester.runPrimeFacesUsersPortletTest_C_UsersFilter:300 ยป WebDriver
      
      Tests run: 6, Failures: 0, Errors: 1, Skipped: 0
      
      [INFO]
      [INFO] --- maven-failsafe-plugin:2.19.1:verify (selenium-tests) @ com.liferay.faces.test.portal.integration ---
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 51.628 s
      [INFO] Finished at: 2018-05-10T19:12:24-04:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify (selenium-tests) on project com.liferay.faces.test.portal.integration: There are test failures.
      [ERROR]
      [ERROR] Please refer to /home/kylestiemann/Projects/liferay.com/liferay-faces-portal/test/integration/target/failsafe-reports for the individual test results.
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      

      It passes manually and with Firefox.

        Attachments

          Activity

            People

            • Assignee:
              kyle.stiemann Kyle Stiemann
              Reporter:
              kyle.stiemann Kyle Stiemann
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: