Actions
Bug #21635
closedBanner tooltip test "should show tooltips and remove tooltips as localStorage key is present" fails intermittently
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Target version:
Story points:
-
Release:
Release relationship:
Auto
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
Updated by Brett Smith 9 months ago
Happened again in developer-run-tests-services-workbench2: #677
Updated by Peter Amstutz 8 months ago
- Target version set to Development 2024-05-22 sprint
Updated by Brett Smith 8 months ago
Still failing developer-run-tests-services-workbench2: #788 /consoleFull
Updated by Stephen Smith 8 months ago
- Status changed from New to In Progress
Changes at arvados|1c0fbb6e173cabf66db7ef0ee64e32db19626af4 branch 21635-banner-test-fix
Tests developer-run-tests-services-workbench2: #794
- Added asserts to the tooltip test to ensure banner is open before and closed after pressing the button
- Increased timeouts to account for lag on slow test runners when app is initialized
This passed 100 runs on github with the only failures being 2 other flaky tests, created #21762 and #21763 to track those.
Updated by Stephen Smith 8 months ago
- Related to Bug #21762: Flaky search context menu cypress test added
- Related to Bug #21763: Flaky project cypress test added
Updated by Stephen Smith 7 months ago
- Status changed from In Progress to Resolved
Applied in changeset arvados|c28159e9eda5bdd027792a20fa8d0ad04efb74f7.
Actions