Commit a65abe1
fix: wait for Blazor interactivity before redirect button click
The Redirect_NavigatesToSessionPage test was timing out because it clicked
the button before Blazor's interactive circuit was ready. The old check
(WaitForSelectorState.Attached) only verified DOM presence, not interactivity.
Now waits for __doPostBack function (bootstrapped by WebFormsPageBase.
OnAfterRenderAsync) as a reliable signal that Blazor event handlers are
wired up same pattern used in PostBackTests.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent c4bfed7 commit a65abe1
1 file changed
Lines changed: 5 additions & 4 deletions
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
38 | | - | |
39 | | - | |
40 | 42 | | |
41 | 43 | | |
42 | | - | |
43 | | - | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
0 commit comments