Project

General

Profile

Actions

Bug #21635

open

Banner tooltip test "should show tooltips and remove tooltips as localStorage key is present" fails intermittently

Added by Brett Smith about 1 month ago. Updated 25 days ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Workbench2
Target version:
-
Story points:
-

Description

  Running:  banner-tooltip.cy.js                                                           (1 of 17)
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme

  Banner / tooltip tests
    ✓ should re-show the banner (11208ms)
    1) should show tooltips and remove tooltips as localStorage key is present

  1 passing (18s)
  1 failing

  1) Banner / tooltip tests
       should show tooltips and remove tooltips as localStorage key is present:
     CypressError: Timed out retrying after 4000ms: `cy.trigger()` failed because this element:

`<div data-cy="side-panel-tree">...</div>`

is being covered by another element:

`<div class="MuiDialog-container-923 MuiDialog-scrollPaper-921" role="document" tabindex="-1" style="opacity: 1; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;">...</div>`

Fix this problem, or use {force: true} to disable error checking.

https://on.cypress.io/element-cannot-be-interacted-with
      at ensureIsDescendent (https://127.0.0.1:54662/__cypress/runner/cypress_runner.js:111947:68)
      at ensureDescendents (https://127.0.0.1:54662/__cypress/runner/cypress_runner.js:111998:5)
      at ensureDescendentsAndScroll (https://127.0.0.1:54662/__cypress/runner/cypress_runner.js:112004:14)
      at ensureElIsNotCovered (https://127.0.0.1:54662/__cypress/runner/cypress_runner.js:112135:5)
      at runAllChecks (https://127.0.0.1:54662/__cypress/runner/cypress_runner.js:112334:52)
      at retryActionability (https://127.0.0.1:54662/__cypress/runner/cypress_runner.js:112371:16)
      at tryCatcher (https://127.0.0.1:54662/__cypress/runner/cypress_runner.js:1807:23)
      at Promise.attempt.Promise.try (https://127.0.0.1:54662/__cypress/runner/cypress_runner.js:4315:29)
      at whenStable (https://127.0.0.1:54662/__cypress/runner/cypress_runner.js:143918:68)
      at <unknown> (https://127.0.0.1:54662/__cypress/runner/cypress_runner.js:143859:14)
      at tryCatcher (https://127.0.0.1:54662/__cypress/runner/cypress_runner.js:1807:23)
      at Promise._settlePromiseFromHandler (https://127.0.0.1:54662/__cypress/runner/cypress_runner.js:1519:31)
      at Promise._settlePromise (https://127.0.0.1:54662/__cypress/runner/cypress_runner.js:1576:18)
      at Promise._settlePromise0 (https://127.0.0.1:54662/__cypress/runner/cypress_runner.js:1621:10)
      at Promise._settlePromises (https://127.0.0.1:54662/__cypress/runner/cypress_runner.js:1701:18)
      at Promise._fulfill (https://127.0.0.1:54662/__cypress/runner/cypress_runner.js:1645:18)
      at <unknown> (https://127.0.0.1:54662/__cypress/runner/cypress_runner.js:5450:46)
  From Your Spec Code:
      at Context.eval (webpack://arvados-workbench-2/./cypress/e2e/banner-tooltip.cy.js:100:44)

  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        2                                                                                │
  │ Passing:      1                                                                                │
  │ Failing:      1                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  1                                                                                │
  │ Video:        false                                                                            │
  │ Duration:     18 seconds                                                                       │
  │ Spec Ran:     banner-tooltip.cy.js                                                             │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘

Files

Actions

Also available in: Atom PDF