2.9 KiB
2.9 KiB
id, title, status, wave, depends_on, plan, requirements, acceptance_criteria, system_design
| id | title | status | wave | depends_on | plan | requirements | acceptance_criteria | system_design | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 04-prove-tab-order-e2e | Prove desktop and mobile behavior | completed | 3 |
|
plan.md |
|
|
|
Task 04: Prove Desktop and Mobile Behavior
Summary
Add production-build browser proof for the complete tab experience. Use a deterministic mock-agent command to prove the real title MCP path and visible tab update.
In scope
- Replace the desktop test that expects activity-based reorder after reload.
- Prove mixed-tab drag, rename controls, agent title update, and reload persistence.
- Prove the mobile move path, rename discovery, target size, and overflow containment.
Out of scope
- Broad Playwright verification outside the Quick Chat files.
- Container and SSH projects.
- Visual snapshot baselines.
Acceptance
- Desktop preserves mixed order and the generated title after reload.
- Mobile proves an equivalent move outcome with no document overflow and legal touch targets.
- Both focused projects pass with retries disabled and discover the intended tests.
Verification
(cd apps/backend && go test ./cmd/mock-agent -count=1)
make -C apps/backend build
(cd apps/web && pnpm e2e:run tests/chat/quick-chat.spec.ts -- --retries=0)
(cd apps/web && pnpm e2e:run --project mobile-chrome tests/chat/mobile-quick-chat-tabs.spec.ts -- --retries=0)
Files likely touched
apps/backend/cmd/mock-agent/handler.goapps/backend/cmd/mock-agent/main.goapps/backend/cmd/mock-agent/mock_agent_test.goapps/web/e2e/tests/chat/quick-chat.spec.tsapps/web/e2e/tests/chat/mobile-quick-chat-tabs.spec.ts- A shared Quick Chat E2E helper or page object
Dependencies
Tasks 01, 02, 03, and 05.
Risks
- The managed E2E runner uses the prebuilt mock-agent binary. The backend build must occur after a fixture change.
- Desktop and mobile require separate project commands.
Parallelism
sequential
Inputs
- Both system designs and their E2E mappings.
- The mock-agent
/subtaskMCP command as the nearest real-tool fixture pattern.
Results
The deterministic mock-agent path now proves the real title MCP call and task event relabeling. The complete desktop Quick Chat spec passed 17 tests with retries disabled. The mobile-chrome spec passed its mixed-tab move, rename, target-size, and overflow scenario with retries disabled.