2.0 KiB
2.0 KiB
id, title, status, wave, depends_on, plan, spec
| id | title | status | wave | depends_on | plan | spec | ||
|---|---|---|---|---|---|---|---|---|
| 03-responsive-e2e | Prove desktop and mobile flows | done | 3 |
|
plan.md | ../../specs/ui/requirements/app-status-bar.md |
Task 03: Prove desktop and mobile flows
Acceptance
- Desktop E2E proves the user can save simplified metrics and see icon/value-only status metrics after reload.
- Mobile E2E proves the same saved choice through the existing Settings and Status drawer composition.
- Tests restore the backend-owned user setting and assert relevant mobile containment/overflow behavior.
Files likely touched
apps/web/e2e/tests/settings/resource-metrics-display.spec.tsapps/web/e2e/tests/settings/mobile-resource-metrics-display.spec.ts- Existing page objects/helpers only if a genuinely reusable settings/status action is missing.
Inputs
- Spec: detailed/simplified and phone Status scenarios.
- Plan: E2E Tests and Mobile design contract.
- Patterns:
apps/web/e2e/tests/settings/mobile-general-settings.spec.ts,apps/web/e2e/tests/layout/app-status-bar.spec.ts, andapps/web/e2e/tests/plugins/mobile-status-drawer.spec.ts.
TDD sequence
- Write the desktop and
mobile-*.spec.tsscenarios and confirm they fail because the preference/control is absent. - Run against the integrated implementation and correct only selectors or genuine implementation gaps.
- Confirm both tests pass against a freshly built production Vite bundle served by the Go backend.
Verification
rtk pnpm e2e:run tests/settings/resource-metrics-display.spec.ts tests/settings/mobile-resource-metrics-display.spec.tsfromapps/web
Dependencies
01-persist-preference02-settings-and-rendering
Output contract
Return a compact handoff capsule containing intent/acceptance, base/head SHA, changed files, named spec sections, user-flow, persistence, and integration risk tags, exact command/result, screenshot or rendered evidence paths when available, uncertainties, and this task file updated to done. Do not edit plan.md.