e43b0597a1
In CI the "请选择您的登录身份" role selection dialog may take longer
than 3 seconds to appear. The old `waitForTimeout(3000) + isVisible()`
snapshot check missed it, causing no role to be selected. On subsequent
navigation to /clazz the route guard found multiple active roles and
redirected to / instead, making `.view-toolbar` never appear.
Replaced with `waitFor({ state: 'visible', timeout: 15_000 })` which
waits up to 15s for the dialog.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>