API Test
This commit is contained in:
@@ -19,7 +19,7 @@ public class CardsPageTests : PageTest
|
||||
Page.PageError += (_, err) => Console.WriteLine($"[BROWSER PAGE ERROR] {err}");
|
||||
|
||||
await Page.GotoAsync($"{BaseUrl}/cards");
|
||||
await Page.WaitForSelectorAsync("h1", new() { Timeout = 30000 });
|
||||
await Page.WaitForSelectorAsync("h1", new PageWaitForSelectorOptions { Timeout = 30000 });
|
||||
|
||||
// Give Blazor WASM a moment to render
|
||||
await Page.WaitForTimeoutAsync(3000);
|
||||
@@ -31,4 +31,4 @@ public class CardsPageTests : PageTest
|
||||
var html = await Page.ContentAsync();
|
||||
File.WriteAllText("cards_page_dump.html", html);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user