Skam Docs

E2E Testing (Playwright)

Playwright tests exactly what the customer experiences in the live application.

How It Works

It launches a real browser instance (Chromium, Firefox, or WebKit) and drives user journeys exactly as a human would, clicking buttons, typing in inputs, and waiting for network requests.

Critical Flows

Checkout, Login, and Tenant Onboarding.

Visuals

Verifying UI elements are visible and interactive.

Integration

Catching styling bugs hidden behind complex DOM events.

Running E2E Tests

Terminal
pnpm --filter @skam/web test:e2e