Skip to content

Commit ee541e8

Browse files
committed
unflake using delay
1 parent b2a1b11 commit ee541e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/PuppeteerSharp.Tests/DefaultBrowserContextTests/BrowserTargetEventsTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public async Task ShouldWork()
2323

2424
// .NET has a race here where we get the target created of the default page.
2525
// We will wait for the new page before moving on.
26+
await Task.Delay(500);
2627
await browser.PagesAsync();
2728
var events = new List<string>();
2829
browser.TargetCreated += (_, _) => events.Add("CREATED");

0 commit comments

Comments
 (0)