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

Fix functional tests not running because of cucumber reports

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: HOTFIX_10.10
    • Fix Version/s: 10.10-HF30, 11.2, 2021.0
    • Component/s: Web UI

      Description

      Web UI functional tests are failing on master, 10.10 and 9.10 owing to an error with:

      13:33:09  [INFO]      [exec] /home/jenkins/agent/workspace/nuxeo_nuxeo-web-ui_master/node_modules/webdriverio/build/lib/utils/BaseReporter.js:351
      13:33:09  [INFO]      [exec]                         throw _iteratorError;
      13:33:09  [INFO]      [exec]                         ^
      13:33:09  [INFO]      [exec] TypeError: Cannot read property 'browserName' of undefined
      13:33:09  [INFO]      [exec]     at MultipleCucumberHtmlReporter.determineMetadata (/home/jenkins/agent/workspace/nuxeo_nuxeo-web-ui_master/node_modules/wdio-multiple-cucumber-html-reporter/build/reporter.js:375:54)
      13:33:09  [INFO]      [exec]     at MultipleCucumberHtmlReporter.runnerResult (/home/jenkins/agent/workspace/nuxeo_nuxeo-web-ui_master/node_modules/wdio-multiple-cucumber-html-reporter/build/reporter.js:145:47)
      13:33:09  [INFO]      [exec]     at MultipleCucumberHtmlReporter.emit (events.js:198:13)
      13:33:09  [INFO]      [exec]     at MultipleCucumberHtmlReporter.EventEmitter.emit (domain.js:448:20)
      13:33:09  [INFO]      [exec]     at BaseReporter.handleEvent (/home/jenkins/agent/workspace/nuxeo_nuxeo-web-ui_master/node_modules/webdriverio/build/lib/utils/BaseReporter.js:339:35)
      13:33:09  [INFO]      [exec]     at Launcher.messageHandler (/home/jenkins/agent/workspace/nuxeo_nuxeo-web-ui_master/node_modules/webdriverio/build/lib/launcher.js:688:28)
      13:33:09  [INFO]      [exec]     at ChildProcess.emit (events.js:198:13)
      13:33:09  [INFO]      [exec]     at ChildProcess.EventEmitter.emit (domain.js:448:20)
      13:33:09  [INFO]      [exec]     at emit (internal/child_process.js:832:12)
      13:33:09  [INFO]      [exec]     at process._tickCallback (internal/process/next_tick.js:63:19)
      

      This might be related with a recent release of multiple-cucumber-html-reporter.

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 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 day, 2 hours, 30 minutes
                  1d 2h 30m