Skip to content

Commit

Permalink
[dotnet] Fix flaky VerifyRequestPostData test (#14556)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvborisenko authored Oct 3, 2024
1 parent 4e0a400 commit 61d5f45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dotnet/test/common/DevTools/DevToolsNetworkTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -386,9 +386,10 @@ public async Task VerifyRequestPostData()
if (string.Compare(e.Request.Method, "post", StringComparison.OrdinalIgnoreCase) == 0)
{
requestIds[0] = e.RequestId;
requestSync.Set();
}
requestSync.Set();
};

domains.Network.RequestWillBeSent += requestWillBeSentHandler;

driver.Url = EnvironmentManager.Instance.UrlBuilder.WhereIs("postForm.html");
Expand Down

0 comments on commit 61d5f45

Please sign in to comment.