Project

General

Profile

Actions

Bug #21762

closed

Flaky search context menu cypress test

Added by Stephen Smith 7 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Story points:
-
Release:
Release relationship:
Auto

Description

The search test has a flaky failure that occurs ~1% of the time (happened once in 100 consecutive runs)

  Running:  search.cy.js                                                                  (12 of 17)

  Search tests
    ✓ can search for old collection versions (7817ms)
    ✓ can display path of the selected item (2763ms)
    ✓ can search items using quotes (3273ms)
    ✓ can display owner of the item (2410ms)
    1) shows search context menu

  4 passing (22s)
  1 failing

  1) Search tests
       shows search context menu:

      AssertionError: expected 'https://127.0.0.1:51334/collections/zzzzz-4zz18-vsr9coklmu1aoau' to equal 'https://wb2.xxxxx.fakecluster.tld/collections/xxxxx-4zz18-000000000000000'
      + expected - actual

      -'https://127.0.0.1:51334/collections/zzzzz-4zz18-vsr9coklmu1aoau'
      +'https://wb2.xxxxx.fakecluster.tld/collections/xxxxx-4zz18-000000000000000'

      at eval (webpack://arvados-workbench-2/./cypress/e2e/search.cy.js:306:40)


Subtasks 1 (0 open1 closed)

Task #21830: Review 21762-flaky-search-testResolvedStephen Smith06/10/2024Actions

Related issues

Related to Arvados - Bug #21635: Banner tooltip test "should show tooltips and remove tooltips as localStorage key is present" fails intermittentlyResolvedStephen SmithActions
Actions #1

Updated by Stephen Smith 7 months ago

  • Related to Bug #21635: Banner tooltip test "should show tooltips and remove tooltips as localStorage key is present" fails intermittently added
Actions #2

Updated by Peter Amstutz 7 months ago

  • Target version changed from Future to Development 2024-06-05 sprint
Actions #3

Updated by Peter Amstutz 6 months ago

  • Category set to Workbench2
Actions #4

Updated by Peter Amstutz 6 months ago

  • Assigned To set to Lisa Knox
Actions #5

Updated by Lisa Knox 6 months ago

  • Status changed from New to In Progress
Actions #6

Updated by Peter Amstutz 6 months ago

  • Target version changed from Development 2024-06-05 sprint to Development 2024-06-19 sprint
Actions #7

Updated by Lisa Knox 6 months ago

developer-run-tests-services-workbench2: #901

21762-flaky-search-test @ arvados|44409a60bba940786d40df5bb6ae3c6516a29286

  • ✅ All agreed upon points are implemented / addressed.
  • ✅ Anything not implemented (discovered or discussed during work) has a follow-up story.
  • ✅ Code is tested and passing, both automated and manual, what manual testing was done is described
  • n/a Documentation has been updated.
  • n/a Behaves appropriately at the intended scale (describe intended scale).
  • n/a Considered backwards and forwards compatibility issues between client and server.
  • ✅ Follows our coding standards and GUI style guidelines.
Notes:
  • While fixing this bug I encountered another bug (collection test would fail with `ResizeObserver loop completed with undelivered notifications.`) which occurred 5-10% of the time. After fixing both bugs, 80 consecutive test suites were run and all passed.
Actions #8

Updated by Stephen Smith 5 months ago

This lgtm!

Actions #9

Updated by Lisa Knox 5 months ago

  • Status changed from In Progress to Resolved
Actions #10

Updated by Peter Amstutz 3 months ago

  • Release set to 70
Actions

Also available in: Atom PDF