Skip to content

Commit

Permalink
Maybe it just need more time?
Browse files Browse the repository at this point in the history
  • Loading branch information
kblok committed May 23, 2024
1 parent 3d3cf2f commit 68a9dd5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ public async Task ShouldWorkWithBothDomcontentloadedAndLoad()
]
}).ContinueWith(_ => bothFired = true);

await waitForRequestTask.WithTimeout();
await domContentLoadedTask.WithTimeout();
await waitForRequestTask.WithTimeout(5_000);
await domContentLoadedTask.WithTimeout(5_000);
Assert.False(bothFired);
responseCompleted.SetResult(true);
await bothFiredTask.WithTimeout();
await navigationTask.WithTimeout();
await bothFiredTask.WithTimeout(5_000);
await navigationTask.WithTimeout(5_000);
}

[Test, Retry(2), PuppeteerTest("navigation.spec", "navigation Page.waitForNavigation", "should work with clicking on anchor links")]
Expand Down

0 comments on commit 68a9dd5

Please sign in to comment.