-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
testingInvolves the test suite, click-testing, or tests running in CIInvolves the test suite, click-testing, or tests running in CI
Description
We have some tests flaking because they try to interact with a tree item (e.g. inline action hovering as part of clickInlineAction) before the search message has appeared in the view.
For example:
- item is hovered:
- tree view message appears, no longer hovering:
TimeoutError: locator.click: Timeout 30000ms exceeded.
Call log:
- waiting for locator('.pane').filter({ has: getByRole('button', { name: /Topics.*Section/ }) }).first().locator('.pane-body').locator('[role=\'treeitem\'][aria-level=\'1\']').filter({ hasText: 'e2e-topic-message-viewer-053264' }).locator('.actions .actions-container').getByRole('button', { name: 'View Messages' })
- locator resolved to <a tabindex="0" role="button" aria-label="View Messages" class="action-label codicon codicon-confluent-view-messages"></a>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="message">Showing 1 of 176 for "e2e-topic-message-viewer-05…</div> intercepts pointer events
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is not visible
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not visible
...
Metadata
Metadata
Assignees
Labels
testingInvolves the test suite, click-testing, or tests running in CIInvolves the test suite, click-testing, or tests running in CI