docs(examples): add the MyTimetable community example
Merged
SA
11h ago+30+30+01234567890123456789-0-0-0123456789
Adds MyTimetable to e2e.com/examples as a community example.
MyTimetable is the Adelaide University CS Club's drag-and-drop timetable planner (Vite, React, HeroUI).
The suite lives in samanyudas/mytimetable/e2e, pinned to a commit.
- Adds the
mytimetableentry toexamples/examples.json. - Adds a
drag-and-dropuse-case tag. No listed example covers drag and drop.
What the example shows that the listed ones do not:
- Drop zones that exist only during a drag. The other times for a class render only while a drag is held, so
dragTohas no target yet. The test holds the pointer withbrowser.mouse, waits for the drop zone, and releases on it. Then it checks the new class number in the "Ready for Enrolment" dialog. - A button that never holds still. The welcome button pulses forever, so it fails the stability check before a locator tap. The test taps the center of its box with
screen.tapAt. - Accessible names found by role locators. The calendar's week buttons were icon-only and had no accessible name. The example branch names them from their tooltip text, in a separate commit (
d9b80f2).
Verified
Ran it locally: yes
- From
e2e/in the MyTimetable branch:CI=1 npx e2e run --repeat-each 3with e2e 0.23.1 and @e2e-dev/web 0.16.0 on Node 26. 15 of 15 locator runs passed: 5 tests, 3 runs each. The runner started the Vite dev server against the mock API. After a review round, I ran it once more at the pinned commit: 5 passed. - The 2 agent tests have not run on the README's model,
openai/gpt-6-luna-fast: the AI Gateway free tier does not serve it. - I ran them once on the free
nvidia/nemotron-3.5-lightning-freethrough a temporary config:- "the agent finds the class numbers to enrol in" passed, including its
agent.assert. - "the agent enrols in a course by name" failed. The model picked the course in the search box but never pressed "Add", then reported the step done. The locator check after the step caught it with
ASSERTION_FAILED. An earlier attempt timed out because the provider did not answer one call for 114 s.
- "the agent finds the class numbers to enrol in" passed, including its
node scripts/check-examples.ts --online:62 examples OK. This check also fetches the pinned README.
🤖 Generated with Claude Code