2.0 KiB
2.0 KiB
id, title, status, wave, depends_on, plan, spec
| id | title | status | wave | depends_on | plan | spec | |
|---|---|---|---|---|---|---|---|
| 02-e2e | E2E: desktop nested PR submenu | done | 2 |
|
plan.md | ../../specs/ui/add-panel-pr-submenu.md |
Task 02: E2E coverage for the PR submenu
- Acceptance:
pr-multi-popover.spec.ts"selecting a different PR from the + add-panel menu" test opens theadd-panel-pr-submenutrigger before clickingadd-panel-pr-item-${OWNER}-api-77, and still expects twoprDetailTabs.- Mobile coverage gap is documented: the dockview "+" add-panel menu is only
rendered by
DockviewDesktopLayout(apps/web/components/task/task-layout.tsxroutesisMobile→SessionMobileLayout, which has no "+" add-panel menu and no linked-PR list), so there is no mobile entry point for this feature. The submenu behavior is covered by unit tests (dockview-add-panel-items.test.tsx); nomobile-*.spec.tsis added.
- Verification: (rebuild the web bundle first — E2E serves the production
build)
make build-webcd apps/web && pnpm e2e -- tests/pr/pr-multi-popover.spec.ts
- Files likely touched:
apps/web/e2e/tests/pr/pr-multi-popover.spec.ts
- Dependencies: task-01-frontend-submenu.
- Parallelism: sequential.
- Inputs:
- Spec
Scenarios: docs/specs/ui/add-panel-pr-submenu.md - Plan E2E section: docs/plans/add-panel-pr-submenu/plan.md
- Desktop seeding:
associateTwoPRs+openTaskAndWaitinapps/web/e2e/tests/pr/pr-multi-popover.spec.ts - Page object
addPanelButton()/prDetailTab():apps/web/e2e/pages/session-page.ts
- Spec
- Output contract: summary, files changed, exact verification commands with
results, task status →
done, plan checkbox update. - Status note: marked done — desktop spec updated (submenu open step). Full
E2E execution was not run locally in this environment (shared machine,
heavy contention); the change is covered by CI E2E and the unit tests in
dockview-add-panel-items.test.tsx.