diff --git a/backend/Testing/Browser/Page/BasePage.cs b/backend/Testing/Browser/Page/BasePage.cs index 0eec14d9c..ce167b5f7 100644 --- a/backend/Testing/Browser/Page/BasePage.cs +++ b/backend/Testing/Browser/Page/BasePage.cs @@ -36,11 +36,11 @@ public async Task WaitFor() { if (Url is not null) { - await Page.WaitForURLAsync(Url, new() { WaitUntil = WaitUntilState.NetworkIdle }); + await Page.WaitForURLAsync(Url, new() { WaitUntil = WaitUntilState.Load }); } else { - await Page.WaitForLoadStateAsync(LoadState.NetworkIdle); + await Page.WaitForLoadStateAsync(LoadState.Load); } await Task.WhenAll(TestLocators.Select(l => l.WaitForAsync())); return (T)this;