Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-18417

Fix closing of fancy box on actions widget sample in layout showcase

    XMLWordPrintable

    Details

    • Tags:
    • Sprint:
      nxNag Sprint 8.1.1

      Description

      At http://showcase.nuxeo.com/nuxeo/layoutDemo/actionsWidget, click on "Fancy box", this opens a fancy box.
      Close it by clicking on the "close" cross => fancybox is reopened again.

      Problem is present on 6.0 but not picked up by webdriver tests, selenium-server upgrade (NXP-16465) revealed this issue:

      https://qa.nuxeo.org/jenkins/job/addons_FT_nuxeo-platform-forms-layout-demo-master-webdriver/org.nuxeo.ecm.platform$nuxeo-platform-forms-layout-demo-webdriver-tests/870/testReport/junit/org.nuxeo.ftest.formsLayoutDemo/ITActionsWidgetTest%28layoutDemo%29/testWidget/

      12:55:08,257 INFO  [AbstractTest] Starting test 'org.nuxeo.ftest.formsLayoutDemo.ITActionsWidgetTest#testWidget'
      12:55:45,885 ERROR [AbstractTest] Test 'org.nuxeo.ftest.formsLayoutDemo.ITActionsWidgetTest#testWidget' failed
      org.openqa.selenium.TimeoutException: Timed out after 30 seconds waiting for org.nuxeo.functionaltests.Locator$4@2fb68ec6
      Build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50'
      System info: host: 'ip-10-124-0-88', ip: '10.124.0.88', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-46-generic', java.version: '1.8.0_60'
      Driver info: driver.version: unknown
      	at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:259)
      	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:228)
      	at org.nuxeo.functionaltests.Locator.waitForTextNotPresent(Locator.java:214)
      	at org.nuxeo.ftest.formsLayoutDemo.ITActionsWidgetTest.testWidget(ITActionsWidgetTest.java:86)
      	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:497)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.nuxeo.functionaltests.LogTestWatchman$1.evaluate(LogTestWatchman.java:94)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.junit.runners.Suite.runChild(Suite.java:127)
      	at org.junit.runners.Suite.runChild(Suite.java:26)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:138)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
      	at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
      	at org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
      12:55:45,886 INFO  [AbstractTest] Created screenshot file named '/opt/jenkins/workspace/addons_FT_nuxeo-platform-forms-layout-demo-master-webdriver/ftest/webdriver/target/screenshot-lastpage-org.nuxeo.ftest.formsLayoutDemo.ITActionsWidgetTest-testWidget7239187761835847698.png'
      12:55:45,886 INFO  [AbstractTest] Created page source file named '/opt/jenkins/workspace/addons_FT_nuxeo-platform-forms-layout-demo-master-webdriver/ftest/webdriver/target/screenshot-lastpage-org.nuxeo.ftest.formsLayoutDemo.ITActionsWidgetTest-testWidget1014085423681060641.html'
      12:55:45,886 INFO  [AbstractTest] Finished test 'org.nuxeo.ftest.formsLayoutDemo.ITActionsWidgetTest#testWidget'
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: