48 lines
2.0 KiB
Markdown
48 lines
2.0 KiB
Markdown
# Task 6 Report: Playwright Smoke Flow
|
|
|
|
## Status
|
|
|
|
Completed and committed the scoped Playwright smoke-flow update.
|
|
|
|
## What Changed
|
|
|
|
Replaced the legacy workbench shell and inbox smoke tests with one end-to-end test, `login and project channel workbench flow`. The flow covers:
|
|
|
|
- Login using the server address, account, and password fields.
|
|
- Initial Project A1 selection and visibility of the Message Flow 36 channel.
|
|
- Switching to the Work Plan 8 channel and confirming its task template and inspector action.
|
|
- Switching projects to Project A2 and confirming its active state and channel refresh.
|
|
- Opening the Ops Dashboard custom URL channel and confirming its external-channel state.
|
|
|
|
## Tests
|
|
|
|
All verification commands completed successfully from `apps/web`:
|
|
|
|
| Command | Result |
|
|
| --- | --- |
|
|
| `npx playwright test` | 1 passed |
|
|
| `npm test -- --run` | 6 files, 13 tests passed |
|
|
| `npm run build` | Passed |
|
|
| `npx playwright test` (final verification) | 1 passed |
|
|
|
|
## Files Changed
|
|
|
|
- `apps/web/e2e/project-workbench.spec.ts`: replaced the previous smoke cases with the required login, project-switching, channel-template, and custom URL-channel flow.
|
|
- `.superpowers/sdd/task-6-report.md`: this implementation report.
|
|
|
|
## Self-Review
|
|
|
|
- Used the exact labels, button names, values, and assertions supplied in the Task 6 brief.
|
|
- Confirmed the smoke flow checks both the default active project and the dynamically refreshed Project A2 channel list.
|
|
- Confirmed channel coverage reaches both the Work Plan template and the custom external URL channel state.
|
|
- Kept application code and dependencies unchanged; no React or shadcn/ui dependency was added.
|
|
- Confirmed `git diff --check` exits successfully and the code diff is scoped to the requested Playwright spec.
|
|
|
|
## Concerns
|
|
|
|
None. Vite reports that no Svelte config file is present and uses its default configuration during tests and build; this is an existing informational message and did not affect verification.
|
|
|
|
## Commit
|
|
|
|
`test: cover project channel workbench flow`
|