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-1407Done

5.8.8 Playwright E2E — @-mention a work item → live chip + relates_to → peek/rename/archive/delete

Type: test (E2E Playwright) · Executor: coding_agent · Repo: motir-core. Blocked by 5.8.3 + 5.8.5 + 5.8.6.

Automates the story's verification recipe end-to-end, waiting on authoritative signals (not arbitrary timeouts).

Flow

  • Open a work item; in the description editor type @, see the picker offer work items, pick one, save.
  • The body renders the internal-link chip with the target's current key/title/status; the Relationships panel shows a new "Relates to" row.
  • Click the chip -> the quick-view peek opens on the target.
  • Live, not stale: edit the target's title elsewhere -> reopen -> the chip shows the NEW title.
  • Put a MOTIR-N key in an item's title -> it renders as a link.
  • Archive the target -> the chip renders muted/archived; delete the target -> the chip renders struck-through with the bare key (and the page doesn't crash).
  • Picker empty/short-query state; viewer role sees chips but the composer affordances follow the existing permission gates.

Acceptance criteria

  • The happy path + each state above is asserted; waits key off the authoritative DOM/network signal (the E2E discipline), no fixed sleeps.
  • Seed provides at least two cross-referable items + one to archive + one to delete; positions/keys valid.
  • Runs green in the E2E lane (mind the dedicated-lane cold-route + flake gotchas).

Context refs: the detail route + comments surface, the relationships panel, /api/work-items/peek, the seed + Playwright harness conventions.