Skip to content

Commit

Permalink
fix: rewrite playwright test that causes failure
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho112 committed Aug 5, 2024
1 parent b565e2b commit 362d070
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ class AuthCallBackPage {
await expect(page.locator('[data-testid="username_create"]')).toHaveValue(getEmailId(email));
await page.waitForSelector('button:has-text("Continue"):enabled');
await page.click('button:has-text("Continue")');
await expect(page.getByText('Loading...')).toBeVisible({ timeout: TIMEOUT });
await expect(page.getByText('Loading...')).not.toBeVisible({ timeout: TIMEOUT });
await expect(page.getByText('Redirecting to app...')).toBeVisible({ timeout: TIMEOUT });
await page.waitForSelector('text=Loading...');
await page.waitForSelector('text=Loading...', { state: 'detached' });
await page.waitForSelector('text=Redirecting to app...');
}
}

Expand Down

0 comments on commit 362d070

Please sign in to comment.