Skip to content

Commit

Permalink
test: fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
ruifigueira committed Sep 29, 2024
1 parent cfbda7e commit 476700c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/crx/recorder.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ def test_example(page: Page) -> None:
await recorderPage.close();
}

// flaky, probably due to asynchronous nature of page detach when recorder page is closed
await page.waitForTimeout(2000);

{
// change again
await configureRecorder({ targetLanguage: 'csharp-nunit' });
Expand Down

0 comments on commit 476700c

Please sign in to comment.