Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mt][browser] Prevent SignalRClientTests fail with "PlaywrightException: Target closed" #99537

Merged
merged 7 commits into from
Mar 15, 2024
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@
private List<string> chatMessages = new List<string>();
private string wrongQueryError = "Query string with parameters 'message' and 'transport' are required";

protected override void OnInitialized()
protected override void OnAfterRender(bool firstRender)
{
Helper.TestOutputWriteLine($"OnInitialized on CurrentManagedThreadId={Environment.CurrentManagedThreadId}");
base.OnAfterRender(firstRender);

Helper.TestOutputWriteLine($"OnAfterRender on CurrentManagedThreadId={Environment.CurrentManagedThreadId}");
GetQueryParameters();
}

Expand Down