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

Fix failure on ITCollectionsTest#testAddDocumentToCollectionAndRemove

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.10
    • Component/s: Collections

      Description

      Seems there's a detection issue with the "add all" button

      https://qa.nuxeo.org/jenkins/job/FT-nuxeo-master-webdriver-cap-tomcat-multidb-windows/Slave=MULTIDB_WINDOWS,dbprofile=pgsql,jdk=java-8-oracle/lastCompletedBuild/testReport/org.nuxeo.ftest.cap/ITCollectionsTest/testAddDocumentToCollectionAndRemove/

      Element is not currently visible and so may not be interacted with
      Command duration or timeout: 32 milliseconds
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'WIN-LDIU5D12TMA', ip: '10.0.2.15', os.name: 'Windows Server 2012 R2', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_45'
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=26.0, platform=XP, browserConnectionEnabled=true, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
      Session ID: 6f77eed6-1f79-4d85-8629-cd5edfc0ceef
      
      Stacktrace
      
      org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with
      Command duration or timeout: 32 milliseconds
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'WIN-LDIU5D12TMA', ip: '10.0.2.15', os.name: 'Windows Server 2012 R2', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_45'
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=26.0, platform=XP, browserConnectionEnabled=true, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
      Session ID: 6f77eed6-1f79-4d85-8629-cd5edfc0ceef
      	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:422)
      	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)
      	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
      	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
      	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:268)
      	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:79)
      	at org.nuxeo.functionaltests.Locator$6.apply(Locator.java:277)
      	at org.nuxeo.functionaltests.Locator$6.apply(Locator.java:271)
      	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
      	at org.nuxeo.functionaltests.Locator.waitUntilGivenFunctionIgnoring(Locator.java:425)
      	at org.nuxeo.functionaltests.Locator.waitUntilElementEnabledAndClick(Locator.java:271)
      	at org.nuxeo.functionaltests.Locator.findElementWaitUntilEnabledAndClick(Locator.java:130)
      	at org.nuxeo.functionaltests.fragment.AddToCollectionForm.addAll(AddToCollectionForm.java:89)
      	at org.nuxeo.ftest.cap.ITCollectionsTest.testAddDocumentToCollectionAndRemove(ITCollectionsTest.java:153)
      Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Element is not currently visible and so may not be interacted with
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'WIN-LDIU5D12TMA', ip: '10.0.2.15', os.name: 'Windows Server 2012 R2', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_45'
      Driver info: driver.version: unknown
      	at <anonymous class&gt;.fxdriver.preconditions.visible(file:///C:/Users/jenkins/AppData/Local/Temp/anonymous8103055067721689020webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:8179)
      	at <anonymous class&gt;.DelayedCommand.prototype.checkPreconditions_(file:///C:/Users/jenkins/AppData/Local/Temp/anonymous8103055067721689020webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10814)
      	at <anonymous class&gt;.DelayedCommand.prototype.executeInternal_/h(file:///C:/Users/jenkins/AppData/Local/Temp/anonymous8103055067721689020webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10831)
      	at <anonymous class&gt;.DelayedCommand.prototype.executeInternal_(file:///C:/Users/jenkins/AppData/Local/Temp/anonymous8103055067721689020webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10836)
      	at <anonymous class&gt;.DelayedCommand.prototype.execute/<(file:///C:/Users/jenkins/AppData/Local/Temp/anonymous8103055067721689020webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10778)
      
      Standard Output
      
      14:19:03,329 WARN  [AbstractTest] Webdriver logs saved in C:\Jenkins\workspace\FT-nuxeo-master-webdriver-cap-tomcat-multidb-windows\Slave\MULTIDB_WINDOWS\dbprofile\pgsql\jdk\java-8-oracle\nuxeo-distribution\nuxeo-distribution-cap-webdriver-tests\target\webdriver6254549727090550324.log
      14:19:07,862 WARN  [AbstractTest] NXP-17647: nuxeo_includes.js dumped in : C:\Jenkins\workspace\FT-nuxeo-master-webdriver-cap-tomcat-multidb-windows\Slave\MULTIDB_WINDOWS\dbprofile\pgsql\jdk\java-8-oracle\nuxeo-distribution\nuxeo-distribution-cap-webdriver-tests\target\NXP-17647-includes-js-before-ITCollectionsTest999431299219061848.html
      14:19:07,862 WARN  [AbstractTest] NXP-17647: nuxeo_includes.js took  : 407 ms
      14:19:59,380 ERROR [AbstractTest] Test 'org.nuxeo.ftest.cap.ITCollectionsTest#testAddDocumentToCollectionAndRemove' failed
      org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with
      Command duration or timeout: 32 milliseconds
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'WIN-LDIU5D12TMA', ip: '10.0.2.15', os.name: 'Windows Server 2012 R2', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_45'
      Driver info: org.openqa.selenium.firefox.FirefoxDriver
      Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=26.0, platform=XP, browserConnectionEnabled=true, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
      Session ID: 6f77eed6-1f79-4d85-8629-cd5edfc0ceef
      	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:422)
      	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)
      	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
      	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:554)
      	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:268)
      	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:79)
      	at org.nuxeo.functionaltests.Locator$6.apply(Locator.java:277)
      	at org.nuxeo.functionaltests.Locator$6.apply(Locator.java:271)
      	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
      	at org.nuxeo.functionaltests.Locator.waitUntilGivenFunctionIgnoring(Locator.java:425)
      	at org.nuxeo.functionaltests.Locator.waitUntilElementEnabledAndClick(Locator.java:271)
      	at org.nuxeo.functionaltests.Locator.findElementWaitUntilEnabledAndClick(Locator.java:130)
      	at org.nuxeo.functionaltests.fragment.AddToCollectionForm.addAll(AddToCollectionForm.java:89)
      	at org.nuxeo.ftest.cap.ITCollectionsTest.testAddDocumentToCollectionAndRemove(ITCollectionsTest.java:153)
      	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.RunBefores.evaluate(RunBefores.java:26)
      	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)
      Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Element is not currently visible and so may not be interacted with
      Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
      System info: host: 'WIN-LDIU5D12TMA', ip: '10.0.2.15', os.name: 'Windows Server 2012 R2', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_45'
      Driver info: driver.version: unknown
      	at <anonymous class&gt;.fxdriver.preconditions.visible(file:///C:/Users/jenkins/AppData/Local/Temp/anonymous8103055067721689020webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:8179)
      	at <anonymous class&gt;.DelayedCommand.prototype.checkPreconditions_(file:///C:/Users/jenkins/AppData/Local/Temp/anonymous8103055067721689020webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10814)
      	at <anonymous class&gt;.DelayedCommand.prototype.executeInternal_/h(file:///C:/Users/jenkins/AppData/Local/Temp/anonymous8103055067721689020webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10831)
      	at <anonymous class&gt;.DelayedCommand.prototype.executeInternal_(file:///C:/Users/jenkins/AppData/Local/Temp/anonymous8103055067721689020webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10836)
      	at <anonymous class&gt;.DelayedCommand.prototype.execute/<(file:///C:/Users/jenkins/AppData/Local/Temp/anonymous8103055067721689020webdriver-profile/extensions/fxdriver@googlecode.com/components/command_processor.js:10778)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: