Project

General

Profile

Actions

Bug #21635

closed

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

Added by Brett Smith 9 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
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


Subtasks 1 (0 open1 closed)

Task #21753: Review 21635-banner-test-fixResolvedStephen Smith05/13/2024Actions

Related issues 2 (0 open2 closed)

Related to Arvados - Bug #21763: Flaky project cypress testClosedStephen SmithActions
Related to Arvados - Bug #21762: Flaky search context menu cypress testResolvedLisa KnoxActions
Actions #2

Updated by Peter Amstutz 8 months ago

  • Target version set to Development 2024-05-22 sprint
Actions #3

Updated by Brett Smith 8 months ago

Actions #4

Updated by Peter Amstutz 8 months ago

  • Assigned To set to Stephen Smith
Actions #5

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.

Actions #6

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
Actions #7

Updated by Lisa Knox 8 months ago

LGTM

Actions #8

Updated by Stephen Smith 7 months ago

  • Status changed from In Progress to Resolved
Actions #9

Updated by Peter Amstutz 4 months ago

  • Release set to 70
Actions

Also available in: Atom PDF