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

Error "Expected condition failed: waiting for js return window.liferay_faces_showcase_ready; to be executable" in some showcase tests

Details

    Description

      Steps to Reproduce:

      1. Run integration tests in liferay-faces-bridge-impl.

      Expected Results:
      All tests should pass.

      Actual Results:
      Some tests failed with error:

      org.openqa.selenium.TimeoutException: 
      Expected condition failed: waiting for js return window.liferay_faces_showcase_ready; to be executable (tried for 5 second(s) with 500 MILLISECONDS interval)
      Build info: version: '3.8.1', revision: '6e95a6684b', time: '2017-12-01T18:33:54.468Z'
      System info: host: 'P3-SUMMERZHANG', ip: '169.254.45.37', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_162'
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities {acceptSslCerts: true, applicationCacheEnabled: true, browserName: firefox, cssSelectorsEnabled: true, databaseEnabled: true, handlesAlerts: true, javascriptEnabled: true, locationContextEnabled: true, nativeEvents: false, platform: WINDOWS, platformName: WINDOWS, rotatable: false, takesScreenshot: true, version: 52.9.0, webStorageEnabled: true}
      Session ID: 90fc81f7-5e43-4da5-958c-cb4586602d2a
      	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
      	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
      	at com.liferay.faces.test.selenium.browser.internal.BrowserDriverImpl.waitFor(BrowserDriverImpl.java:471)
      	at com.liferay.faces.test.showcase.TesterBase.waitForShowcasePageReady(TesterBase.java:333)
      	at com.liferay.faces.test.showcase.TesterBase.navigateToUseCase(TesterBase.java:252)
      	at com.liferay.faces.test.showcase.portlet.NamespaceGeneralTester.runPortletNamespaceGeneralTest(NamespaceGeneralTester.java:41)
      	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)
      

      Attachments

        Activity

          People

            dante.wang Dante Wang
            summer.zhang Summer Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Packages

                Version Package