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 · Roadmap

MOTIR-4038Done

Story-level E2E — the publish affordance and the public surface, both arms

Opened by Zhu Yue ·

A Playwright test exercising the story's verification recipe — the user-observable half. Two arms:

  1. Cloud arm (the default E2E build, MOTIR_CLOUD=true): the publish affordance is present and functional — a project admin sets a project public in project settings and the go-public affordance reflects it.
  2. Self-host arm (MOTIR_CLOUD unset): the public surface is absent — the publish affordance is not rendered, and the app/api/public/* routes answer 404. Where the E2E harness cannot run a second MOTIR_CLOUD-unset server in the same leg, this arm's route-level assertions are discharged by the story-level vitest integration tier, and the E2E asserts the authed affordance's absence via a dedicated unset-config run.

Records + publishes a short acceptance video of the cloud-arm publish flow (paced for a human — this is the story's acceptance receipt), per the acceptance-video pattern.

Acceptance criteria

  • Cloud arm: the publish affordance is present and a project can be made public; the go-public affordance reflects accessLevel === 'public'.
  • Self-host arm: the publish affordance is not rendered; the app/api/public/* routes 404.
  • An acceptance video of the cloud-arm flow is recorded and published to the story.
  • E2E waits on authoritative signals (no fixed sleeps); empty/loading/error states exercised where the surface has them.

Context refs

  • app/(authed)/settings/project/members/_components/ProjectMembersSettings.tsx — the selector
  • app/(authed)/_components/build-in-public/ — the go-public affordances
  • app/api/public/ — the gated routes
  • the publish-gate card and the story-level vitest card

Discussion

No comments yet.

Adding to this discussion signs you in on app.motir.co and brings you back to this request.

Add a comment