jboss-fuse / vscode-atlasmap

DEPRECATED: camel-atlasmap component has been removed in Camel 4 - VS Code plugins providing Atlasmap tooling
Apache License 2.0
8 stars 13 forks source link

Fix issue with flaky test AtlasMap UI tests --> Start/Stop AtlasMap and verify correct notifications --> Start Command should show a notification with the correct text #186

Closed apupier closed 2 years ago

apupier commented 5 years ago
Writing code settings to /home/travis/build/jboss-fuse/vscode-atlasmap/test-resources/settings/User/settings.json
  AtlasMap UI tests
    Start/Stop AtlasMap and verify correct notifications
      1) Start Command should show a notification with the correct text
      ✓ Second Start Command should open AtlasMap window (2539ms)
      ✓ Stop Command should show a notification with the correct text (3113ms)
      ✓ Second Stop Command should show a notification with the correct text (983ms)
Waiting for all webdriver tasks to finish
Shutting down the browser
  3 passing (36s)
  1 failing
  1) AtlasMap UI tests
       Start/Stop AtlasMap and verify correct notifications
         Start Command should show a notification with the correct text:
     Uncaught NoSuchElementError: no such element: Unable to locate element: {"method":"xpath","selector":".//div[contains(@class, 'monaco-list-row') and @data-index='2']"}
  (Session info: chrome=69.0.3497.128)
  (Driver info: chromedriver=2.38.552522 (437e6fbedfa8762dec75e2c5b3ddb86763dc9dcb),platform=Linux 4.15.0-1028-gcp x86_64)
      at Object.checkLegacyResponse (node_modules/selenium-webdriver/lib/error.js:546:15)
      at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:509:13)
      at doSend.then.response (node_modules/selenium-webdriver/lib/http.js:441:30)
      at process._tickCallback (internal/process/next_tick.js:68:7)
  From: Task: WebElement.findElement(By(xpath, .//div[contains(@class, 'monaco-list-row') and @data-index='2']))
      at Driver.schedule (node_modules/selenium-webdriver/lib/webdriver.js:807:17)
      at WebElementPromise.schedule_ (node_modules/selenium-webdriver/lib/webdriver.js:2010:25)
      at WebElementPromise.findElement (node_modules/selenium-webdriver/lib/webdriver.js:2057:17)
      at new AbstractElement (node_modules/vscode-extension-tester/out/webdriver/components/AbstractElement.js:42:48)
      at new ElementWithContexMenu (node_modules/vscode-extension-tester/out/webdriver/components/ElementWithContextMenu.js:17:1)
      at new Notification (node_modules/vscode-extension-tester/out/webdriver/components/workbench/Notification.js:27:1)
      at new CenterNotification (node_modules/vscode-extension-tester/out/webdriver/components/workbench/Notification.js:118:9)
      at NotificationsCenter.<anonymous> (node_modules/vscode-extension-tester/out/webdriver/components/workbench/NotificationsCenter.js:50:29)
      at Generator.next (<anonymous>)
      at fulfilled (node_modules/vscode-extension-tester/out/webdriver/components/workbench/NotificationsCenter.js:4:58)
apupier commented 2 years ago

test was obsolete and was removed