Skip to content

Playwright E2E tests do not run against a real API — all mocked #655

@hman38705

Description

@hman38705

Labels: testing, frontend
Priority: Medium

Description

frontend/e2e/ tests use mocked API responses. While this is appropriate for unit/component tests, at least one E2E suite should run against a real (staging) API to catch integration regressions.

Context

frontend/e2e/user-journeys.spec.ts, market-creation.spec.ts etc. should have a CI mode that points to a staging environment.

Acceptance Criteria

  • A separate Playwright project config targets a staging API URL
  • Staging E2E suite runs on merge to main (not on every PR)
  • Staging URL configured via environment variable

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions