Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-3013

Fix random errors in 'general' e2e tests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.1
    • Fix Version/s: 3.6.2
    • Component/s: QA/Testing
    • Labels:
      None

      Description

      Currently it appears that there are random errors in the 'general' e2e tests. It seems to be a timing issue and the 400ms delay is to short sometimes.

      Report destination:   build/e2e/report2/report.html
      (node:24416) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
      [12:36:10] I/launcher - Running 1 instances of WebDriver
      [12:36:10] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
      Started
      .....Fgeneral -> general.e2e.js
      
      
      Failures:
      1) General should click [object Object] and check the url
        Message:
          Expected 'http://oa-e2e-sle-pr.oa.suse.de/openattic/#/dashboard' to match '/openattic/#/ceph/osds'.
        Stack:
          Error: Failed expectation
              at Object.checkLocation (/home/jenkins/workspace/workspace/oa-test-gui-pr-sle-1/openattic/webui/e2e/common.js:53:39)
              at UserContext.<anonymous> (/home/jenkins/workspace/workspace/oa-test-gui-pr-sle-1/openattic/webui/e2e/base/general/general.e2e.js:66:19)
              at /usr/lib/node_modules/protractor/node_modules/jasminewd2/index.js:112:25
              at new ManagedPromise (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1067:7)
              at ControlFlow.promise (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2396:12)
              at schedulerExecute (/usr/lib/node_modules/protractor/node_modules/jasminewd2/index.js:95:18)
              at TaskQueue.execute_ (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2970:14)
              at TaskQueue.executeNext_ (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2953:27)
              at asyncRun (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2860:25)
      
      Ran 6 of 687 specs
      6 specs, 1 failure
      Finished in 6.324 seconds
      
      (node:21906) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
      [10:07:24] I/launcher - Running 1 instances of WebDriver
      [10:07:24] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
      Started
      ...........Fgeneral -> general.e2e.js
      
      
      Failures:
      1) General should click [object Object] and check the url
        Message:
          Expected 'http://oa-e2e-sle-pr.oa.suse.de/openattic/#/login' to match '/openattic/#/ceph/nodes'.
        Stack:
          Error: Failed expectation
              at Object.checkLocation (/home/jenkins/workspace/workspace/oa-test-gui-pr-sle-1/openattic/webui/e2e/common.js:53:39)
              at UserContext.<anonymous> (/home/jenkins/workspace/workspace/oa-test-gui-pr-sle-1/openattic/webui/e2e/base/general/general.e2e.js:66:19)
              at /usr/lib/node_modules/protractor/node_modules/jasminewd2/index.js:112:25
              at new ManagedPromise (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1067:7)
              at ControlFlow.promise (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2396:12)
              at schedulerExecute (/usr/lib/node_modules/protractor/node_modules/jasminewd2/index.js:95:18)
              at TaskQueue.execute_ (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2970:14)
              at TaskQueue.executeNext_ (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2953:27)
              at asyncRun (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2860:25)
      
      Ran 12 of 687 specs
      12 specs, 1 failure
      Finished in 17.536 seconds
      

        Attachments

          Activity

            People

            • Assignee:
              vtheile Theile, Volker
              Reporter:
              vtheile Theile, Volker
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: