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

Fix wizard test failure on javascript errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.10
    • Component/s: Wizard

      Description

      Seen here: https://qa.nuxeo.org/jenkins/job/master/job/FT-nuxeo-master-webdriver-tomcat-wizard-win/org.nuxeo.ecm.distribution$nuxeo-wizard-tests/166/

      Seems related to marketing's external JS library; so can be ignored first in order to detect if it hides a deeper issue or not.

      java.lang.AssertionError: 12 Javascript error(s) detected: ["calling a builtin ArrayBuffer constructor without new is deprecated and will be forbidden in ES6" at https://js.intercomcdn.com/frame.1c4080f6.js line 1, "calling a builtin typed array constructor without new is deprecated and will be forbidden in ES6" at https://js.intercomcdn.com/frame.1c4080f6.js line 1, "calling a builtin typed array constructor without new is deprecated and will be forbidden in ES6" at https://js.intercomcdn.com/frame.1c4080f6.js line 1, "calling a builtin typed array constructor without new is deprecated and will be forbidden in ES6" at https://js.intercomcdn.com/frame.1c4080f6.js line 1, "calling a builtin typed array constructor without new is deprecated and will be forbidden in ES6" at https://js.intercomcdn.com/frame.1c4080f6.js line 1, "calling a builtin typed array constructor without new is deprecated and will be forbidden in ES6" at https://js.intercomcdn.com/frame.1c4080f6.js line 1, "calling a builtin typed array constructor without new is deprecated and will be forbidden in ES6" at https://js.intercomcdn.com/frame.1c4080f6.js line 1, "calling a builtin typed array constructor without new is deprecated and will be forbidden in ES6" at https://js.intercomcdn.com/frame.1c4080f6.js line 1, "calling a builtin typed array constructor without new is deprecated and will be forbidden in ES6" at https://js.intercomcdn.com/frame.1c4080f6.js line 1, "calling a builtin typed array constructor without new is deprecated and will be forbidden in ES6" at https://js.intercomcdn.com/frame.1c4080f6.js line 1]
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.nuxeo.functionaltests.JavaScriptErrorCollector.checkForErrors(JavaScriptErrorCollector.java:93)
      	at org.nuxeo.functionaltests.AbstractTest.checkJavascriptError(AbstractTest.java:277)
      	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.RunAfters.evaluate(RunAfters.java:33)
      	at org.nuxeo.functionaltests.LogTestWatchman$1.evaluate(LogTestWatchman.java:117)
      	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.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.junit.runners.Suite.runChild(Suite.java:128)
      	at org.junit.runners.Suite.runChild(Suite.java:27)
      	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.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
      	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)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h