Skip to content

Commit

Permalink
System test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nygrenh committed Sep 5, 2024
1 parent 1fc2ceb commit d32000c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ test.describe(() => {
await frame.getByText("Pick all the programming languages from below").waitFor()

// eslint-disable-next-line playwright/no-conditional-in-test
if (testInfo.retry && (await page.getByText("Try again").isVisible())) {
if (testInfo.retry) {
await page.getByText("Try again").click()
await page.getByText("Try again").waitFor({ state: "hidden" })
await frame.getByText("Pick all the programming languages from below").waitFor()
Expand Down

0 comments on commit d32000c

Please sign in to comment.