Skip to content

moooon

Motir

Vibe your whole project. Bring an idea — Motir's three AI layers plan it, track it, and ship it, end to end. You're looking at Motir, built in Motir.

  • Vibe Project
  • Open Source
  • AI Agent
  • AI Loop
1
requests
0
upvotes
145
planned
1,361
shipped

Motir · Work items

MOTIR-782Done

6.16.8 [test] E2E + verification — in-place edit (text/tags/readme), access gating, fallbacks, settings removal

Estimate: 45m · Type: test · Depends on: 6.16.5, 6.16.6

E2E + verification (wait on AUTHORITATIVE signals, not optimistic UI):

  • Admin signs in → own public project page → "Edit page" → edits tagline, adds and removes a tag, edits body → Save (arm waitForResponse on the action BEFORE click; assert 200) → reload → all persisted.
  • Empty tagline → hero shows generic i18n fallback; zero tags → no pills.
  • Non-admin signed-in + anonymous viewers: NO "Edit page" affordance; a direct action POST by a non-admin → 403.
  • Settings: the in-settings editor is gone; "Edit on the public page →" link navigates into edit mode (6.16.6).

Acceptance criteria

  • All flows green; no waitForTimeout syncs; response-status + post-reload authoritative reads.
  • Access negative paths covered (affordance hidden + action 403); settings editor removal asserted.

Context refs

  • existing public + settings e2e; CLAUDE.md "E2E tests wait on the AUTHORITATIVE signal"; memory: prodect E2E selector/seed gotchas