Skip to content

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

@planger planger requested a review from jfaltermeier July 25, 2024 08:25
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
@planger planger force-pushed the fix-flaky-playwright-test branch from 8896edb to 78e338d Compare July 25, 2024 08:28
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
@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