Skip to content

Add Playwright E2E tests and CI job #372

@ogazboiz

Description

@ogazboiz

Join our community: https://t.me/+DOylgFv1jyJlNzM0

Description

There are no end-to-end tests. Adding Playwright would catch integration regressions that unit tests miss, especially around the Freighter wallet flow and SSE live updates.

What Needs to Happen

  • Add Playwright to the frontend project
  • Create frontend/e2e/stream-lifecycle.spec.ts:
    • Connect wallet (mock Freighter in CI)
    • Navigate to dashboard and see stream list
    • Open stream creation wizard and fill all steps
    • Verify stream appears in dashboard
    • Pause and resume the stream
    • Cancel the stream and confirm status change
  • Add E2E job to CI after the frontend build job
  • Upload Playwright HTML report as artifact on failure
  • Cache Playwright browser binaries

Files

  • frontend/e2e/stream-lifecycle.spec.ts (create)
  • .github/workflows/ci.yml

Acceptance Criteria

  • E2E tests run on every PR
  • Report uploaded on failure
  • All 6 scenarios pass in headless Chromium

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programinfraCI/CD and infrastructure

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions