2.4 KiB
2.4 KiB
id, title, status, wave, depends_on, plan, spec
| id | title | status | wave | depends_on | plan | spec | ||
|---|---|---|---|---|---|---|---|---|
| 04-desktop-mobile-e2e | Desktop and mobile E2E | done | 3 |
|
plan.md | ../../specs/tasks/requirements/mcp-task-agent-profile-default.md |
Task 04: Desktop and Mobile E2E
Acceptance
- Desktop Playwright proves that opting into workspace-default mode persists and causes an omitted-profile MCP-created task/subtask with no workflow profile to use the target workspace default rather than the caller profile.
- Existing or extended E2E coverage proves
current_taskremains the compatibility default. - Mobile Playwright proves the Task Actions choice is reachable, saves across reload, remains touch-usable, and introduces no horizontal overflow; fixture reset restores
current_taskfor every test.
Verification
cd apps/web && pnpm e2e -- --project=chromium e2e/tests/task/mcp-task-agent-profile-default.spec.ts
cd apps/web && pnpm e2e -- --project=mobile-chrome e2e/tests/task/mobile-mcp-task-agent-profile-default.spec.ts
If focused E2E does not rebuild production assets first:
make test-e2e
Files Likely Touched
apps/web/e2e/tests/task/mcp-task-agent-profile-default.spec.tsapps/web/e2e/tests/task/mobile-mcp-task-agent-profile-default.spec.tsapps/web/e2e/tests/task/subtask.spec.tsapps/web/e2e/helpers/api-client.tsapps/web/e2e/fixtures/test-base.ts
Dependencies
02-mcp-profile-resolution03-responsive-task-actions-setting
Inputs
- Spec: Scenarios for compatibility, workflow-before-workspace precedence, workspace default, subtask routing, and mobile persistence. Workflow precedence remains covered by focused Go integration tests if adding a second expensive browser execution would not improve viewport coverage.
- Plan: E2E Tests.
- Patterns: mock-agent
e2e:mcp:kandev:create_task_kandev(...)directives and the existingSubtask inheritancetests inapps/web/e2e/tests/task/subtask.spec.ts; mobile settings navigation inapps/web/e2e/tests/settings/mobile-general-settings.spec.ts. - Follow
/e2eand/mobile-parity; run against freshly built production assets.
Output Contract
Report seeded profile/workspace arrangement, desktop and mobile outcomes, exact commands and results, files touched, blockers, screenshots/overflow checks where applicable, and remaining flake risk. Set this task to done and update its plan checkbox only after both focused projects pass.