e2e: calendar-creation/calendar-editing tests broken by FAB and event-menu redesign (stale selectors) #39

Closed
opened 2026-07-10 09:53:53 +00:00 by laoc · 0 comments
Owner

All 10 tests in e2e/calendar-creation.test.js and 9 in e2e/calendar-editing.test.js currently fail on dev — they reference UI that no longer exists:

  • .fab [role="button"] and button[data-tip="Create Event"] — the old daisyUI FAB was replaced by GlobalFAB.svelte (main button aria-label="Open actions menu", actions inside a create-hub sheet, e.g. aria-label="Create new event")
  • button[aria-label="Manage event"] — the event detail page now shows an Event menu button (context menu) instead

Discovered while verifying #33 (the failures predate that change — the tests never get past the stale selectors). e2e/amb-creation.test.js and e2e/layout-consistency.test.js also reference .fab and likely need the same update.

Tasks:

  • Update FAB open/create-event selectors to the GlobalFAB structure
  • Update event management/edit selectors to the current event-menu UI
  • Re-run npx playwright test calendar-creation calendar-editing and confirm green
All 10 tests in `e2e/calendar-creation.test.js` and 9 in `e2e/calendar-editing.test.js` currently fail on dev — they reference UI that no longer exists: - `.fab [role="button"]` and `button[data-tip="Create Event"]` — the old daisyUI FAB was replaced by `GlobalFAB.svelte` (main button `aria-label="Open actions menu"`, actions inside a create-hub sheet, e.g. `aria-label="Create new event"`) - `button[aria-label="Manage event"]` — the event detail page now shows an `Event menu` button (context menu) instead Discovered while verifying #33 (the failures predate that change — the tests never get past the stale selectors). `e2e/amb-creation.test.js` and `e2e/layout-consistency.test.js` also reference `.fab` and likely need the same update. Tasks: - [ ] Update FAB open/create-event selectors to the GlobalFAB structure - [ ] Update event management/edit selectors to the current event-menu UI - [ ] Re-run `npx playwright test calendar-creation calendar-editing` and confirm green
laoc closed this issue 2026-07-30 12:08:17 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
edufeed/edufeed-app#39
No description provided.