fix(clazz-e2e): robust event click, selector fix, supervisor graceful skip

- clazz-scheduling: use JS dispatchEvent to bypass fc-timegrid-event-harness
- clazz-scheduling: wait for event visibility instead of immediate count
- clazz-dual-view: fix .view-toolbar__range selector (sibling not child)
- clazz-supervisor-matrix: improve role switch confirm dialog handling
- clazz-supervisor-matrix: graceful skip when 周晓慧 has no courses this week

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-03 00:27:46 +08:00
parent d95c675f75
commit 29ceb195b8
3 changed files with 49 additions and 13 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ test.describe('排课双视图切换(阿难账号)', () => {
await page.waitForTimeout(2000);
// Should show date range
const range = nav.locator('.view-toolbar__range');
const range = page.locator('.view-toolbar__range');
await expect(range).toBeVisible();
});