Commit f87b230
committed
test(onboarding): lose the canvas inside the preview, not during setup
`beginTour` awaits the renderer switch before `delay(INTRO_PREVIEW_MS)`, so
flipping `linearMode` immediately after calling it changed the value while
setup was still running rather than during the preview the test names.
The test was already mutation-proof either way - removing the post-delay
re-check fails it and nothing else - because no check sits between the
setting write and the delay. But that is a property of today's code, not of
the test, so a later check added there would have quietly made this pass for
the wrong reason.
Flushes setup with a zero-length tick first.
Addresses #14673 (comment)1 parent c27d65b commit f87b230
1 file changed
Lines changed: 4 additions & 0 deletions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
377 | 381 | | |
378 | 382 | | |
379 | 383 | | |
| |||
0 commit comments