Skip to content

test(e2e): add playwright e2e suite for full workflow and kanban - #356

Merged
paruff merged 2 commits into
mainfrom
test/e2e-playwright-foundation
Aug 20, 2026
Merged

paruff merged 2 commits into
mainfrom
test/e2e-playwright-foundation

Conversation

@paruff

@paruff paruff commented Aug 20, 2026 •

Copy link
Copy Markdown
Owner

Summary

Adds a Playwright browser E2E test suite covering the full prei workflow and kanban drag-and-drop interaction, closing the audit's Phase 1 critical gap.

Changes

  • tests/e2e/conftest.py — Playwright harness fixtures: browser, page, e2e_user, e2e_login, growth_area, discovery_sources (all seeded, no network calls)
  • tests/e2e/test_harness_e2e.py — Smoke tests: health check, login flow
  • tests/e2e/test_workflow_e2e.py — Full journey: Growth Explorer, Discovery, Screening, Underwriting, Offer, Pipeline list
  • tests/e2e/test_kanban_e2e.py — Kanban drag-and-drop: column rendering + HTML5 DnD stage advance with DB persistence
  • .github/workflows/ci-quality.yml — Added collectstatic step to tests-e2e job

Test Results

All 12 e2e tests pass (7 new + 5 existing):

  • 3 harness smoke tests
  • 2 workflow journey tests
  • 2 kanban drag-and-drop tests
  • 5 existing pipeline e2e tests

Audit Alignment

Implements Phase 1 of the product audit recommended sequence. The full plan is documented in the implementation plan.

paruff added 2 commits August 19, 2026 22:27
Adds the opencode.yml workflow and .opencode/skills/ support config, ported from paruff/fawkes after extensive debugging there this session. Also adds an external_directory permission key to the existing opencode.json without touching the existing agent/instructions/skills config -- kept fawkes's generic model routing rather than wiring this workflow to the existing planner/coder/reviewer/security subagents, since those have edit: deny permissions and I don't have full context on how agent: would interact with them from a CI-triggered run.

Scoped to what applies here: skipped Terraform/TFLint pre-install (no .tf files), skipped adding a commit-msg hook (scripts/commit-msg.sh already exists).

Requires OPENCODE_API_KEY, NVIDIA_API_KEY, and GEMINI_API_KEY repo secrets to actually run -- none are currently configured.
Covers the full Growth Explorer → Discovery → Screening → Underwriting
→ Offer → Pipeline journey plus kanban drag-and-drop stage advancement.
Adds collectstatic step to CI e2e job for realistic rendering.

Audit Phase 1: closes the critical 'no Playwright E2E tests' gap.
@paruff
paruff merged commit b6924eb into main Aug 20, 2026
22 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant