Skip to content

[Cypress] Flaky EuiContextMenuPanel test #5312

@thompsongl

Description

@thompsongl

Seen this failure a couple times in the last week on different branches:

15:17:57   EuiContextMenuPanel
15:17:57     focus behavior
15:17:57       ✓ is set on the first focusable element by default if there are no items and hasFocus is true (175ms)
15:17:58       ✓ is not set on anything if hasFocus is false
15:18:02     keyboard navigation of items
15:18:02       up/down keys
15:18:02         ✓ focuses the panel by default (139ms)
15:18:03         ✓ down arrow key focuses the first menu item (217ms)
15:18:09         1) subsequently, down arrow key focuses the next menu item
15:18:14         ✓ up arrow key wraps to last menu item (245ms)
15:18:31         ✓ down arrow key wraps to first menu item (272ms)
15:18:34         ✓ subsequently, up arrow key focuses the previous menu item (315ms)
15:18:59       left/right arrow keys
15:18:59         ✓ right arrow key shows next panel with focused item's index (214ms)
15:19:19         ✓ left arrow key shows previous panel (213ms)
15:19:30 
15:19:30 
15:19:30   9 passing (2m)
15:19:30   1 failing
15:19:30 
15:19:30   1) EuiContextMenuPanel
15:19:30        keyboard navigation of items
15:19:30          up/down keys
15:19:30            subsequently, down arrow key focuses the next menu item:
15:19:30      AssertionError: Timed out retrying after 4000ms: expected '<div.euiContextMenuPanel>' to have attribute 'data-test-subj'

Metadata

Metadata

Assignees

No one assigned

    Labels

    testingIssues or PRs that only affect tests - will not need changelog entries

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions