Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flaky playwright Theia Main Menu test #13951

Merged

Conversation

planger
Copy link
Contributor

@planger planger commented Jul 25, 2024

What it does

We are observing cases where the .getByRole('button', { name: 'OK' }) resolved to multiple elements (e.g. here).

With this change we limit the selection to the dialog shell and hopefully remove this ambiguity.

Contributed on behalf of STMicroelectronics.

How to test

Check that the Playwright test check in the CI works for this PR.
We will continue to observe the stability after merging this PR.

Follow-ups

None

Review checklist

Reminder for reviewers

We are observing cases where the `.getByRole('button', { name: 'OK' })` resolved to multiple elements (e.g. [here](https://github.com/eclipse-theia/theia/actions/runs/10025491100)).

With this change we limit the selection to the dialog shell and hopefully remove this ambiguity.

Contributed on behalf of STMicroelectronics.

Change-Id: I5ee5b3fc6a683f68da99e219b32784c3f5d4bfb7
Copy link
Contributor

@jfaltermeier jfaltermeier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, lgtm

@planger planger merged commit 63b57c6 into eclipse-theia:master Aug 5, 2024
10 of 14 checks passed
@planger planger deleted the fix-flaky-playwright-test branch August 5, 2024 13:05
@planger planger added this to the 1.53.0 milestone Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants