Commit 81aa6e3
fix: use Expect assertion for redirect test to avoid CI timeouts
The Redirect_NavigatesToSessionPage test timed out on CI because
WaitForURLAsync relies on navigation lifecycle events which are slow
when Blazor Server routes through SignalR -> JS interop -> location.href.
Switch to Playwright's auto-retrying Expect(page).ToHaveURLAsync which
polls the URL property directly, with a 60s timeout for slow CI runners.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent c3fc7a1 commit 81aa6e3
1 file changed
Lines changed: 6 additions & 6 deletions
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments