mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-12-06 19:56:45 +10:30
Per-provider in-progress keys, compare-and-set lock acquire, duplicate cleanup on full removal, tests, and manual QA checklist. Co-authored-by: Cursor <cursoragent@cursor.com>
1.6 KiB
1.6 KiB
Calendar sync manual QA
Run these checks before merging calendar sync changes. Use a school SEQTA account with Google Calendar and/or Outlook connected in BetterSEQTA+ settings.
Dual-tab overlap (duplicate prevention)
- Open SEQTA in Tab A and wait for an automatic calendar sync to start (or trigger Sync now from settings).
- Open the same school SEQTA origin in Tab B while Tab A is still syncing.
- In Tab B, click Sync now for the same provider.
- Expected: Tab B shows an error that sync is already running in another tab (no new duplicate events).
- After Tab A finishes, sync from Tab B should succeed.
Same-tab overlap
- With one tab open, click Sync now twice quickly (or trigger sync while page-load sync is still running).
- Expected: Only one sync runs; no duplicate calendar events for the same lessons.
Google and Outlook together
- Connect both Google and Outlook if available.
- Start sync for Google, then immediately start sync for Outlook (same or different tabs).
- Expected: Both providers can sync concurrently; neither blocks the other.
Resume after interrupted sync
- Start a full sync, then close the tab mid-sync (or kill the tab process).
- Wait longer than the heartbeat stale window (~45s) without another tab syncing.
- Reload SEQTA.
- Expected: Sync resumes or can be started cleanly without duplicate events piling up.
Duplicate cleanup (optional)
If duplicates already exist from an older build, run a full sync once and confirm extra remote events for the same lesson are removed from the calendar.