Skip to content

Commit

Permalink
try to deal with test flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
robwafle committed Aug 20, 2024
1 parent 3e4ff34 commit c7e230a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ test('generate account', async ({ page }) => {
await page.goto('/');

// looks like we need to wait a little for react to setup
await page.waitForSelector('.read-the-docs', { state: 'visible' });
await page.waitForTimeout(1000);
//await page.waitForSelector('.read-the-docs', { state: 'visible' });

const accountButton = page.getByRole('button', { name: 'Click to generate account' });
await accountButton.click();
Expand Down

0 comments on commit c7e230a

Please sign in to comment.