MotirBuilding in public
MOTIR · moooon
onMotir
You’re viewing a public project. Anyone can view it — no account needed. Sign in to submit, upvote, or comment on requests.View-only — you can’t edit work items
MOTIR-788

6.17.5 [test] E2E — start/stop building in public, status badge, access gating

Done
Description

Estimate: 40m · Type: test · Depends on: 6.17.3, 6.17.4

E2E + verification (wait on AUTHORITATIVE signals):

  • Admin on a non-public project → sees "Start building in public" → confirm (arm waitForResponse on the access write BEFORE confirm; assert 200) → reload → project is public, "Building in public" badge shows, public page (/p/<id>) reachable.
  • "Stop building in public" → confirm → project leaves public; badge clears; public page no longer public.
  • Non-admin: no CTA, no stop action; badge read-only on a public project.

Acceptance criteria

  • Flows green; no waitForTimeout syncs; response-status + post-reload authoritative reads.
  • Access negative paths covered (CTA/stop hidden for non-admins).

Context refs

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