---
title: E2E Quick Start
description: Quick start guide for running Playwright E2E tests for authentication and account management features.
navigation:
  icon: i-lucide-play-circle
---

# E2E Tests - Quick Start Guide

This project includes comprehensive E2E tests using Playwright to test authentication and account management features.

## ✅ All Tests Now Support Dutch Language!

All E2E tests have been updated to work with the Dutch (nl-BE) default language. Tests use the `TEST_LANGUAGE` constant from `test/e2e/helpers/auth.ts` for language-specific assertions.

## Running Tests

### **IMPORTANT: Start Dev Server First**

::warning
Before running E2E tests in local development, start the dev server manually in a separate terminal:
```bash [Terminal]
pnpm dev
```
This prevents hanging issues when running tests. The Playwright configuration is set to `reuseExistingServer: true` to use your running dev server.
::

### Run all E2E tests
```bash [Terminal]
pnpm test:e2e
```

### Run tests in UI mode (interactive - RECOMMENDED)
```bash [Terminal]
pnpm test:e2e:ui
```

### Run tests in headed mode (see browser)
```bash [Terminal]
pnpm test:e2e:headed
```

### Debug tests
```bash [Terminal]
pnpm test:e2e:debug
```

### View test report
```bash [Terminal]
pnpm test:e2e:report
```

### Troubleshooting

**If tests hang or freeze your IDE:**

::steps
1. Make sure you started `pnpm dev` in a separate terminal first
2. If the IDE is frozen, force quit the IDE process
3. Kill any orphaned dev servers: `killall node` or `pkill -f "pnpm dev"`
4. Restart and try again with dev server running first
::

## Test Coverage Summary

**Total: 69 E2E Tests Implemented**

- ✅ **60+ tests ready to run** (public pages, no auth required)
- ⚠️ **~15 tests** require authentication setup (skipped, marked with `test.skip`)

All tests support **Dutch (nl-BE)** as the default language.

## Additional Resources

- [Playwright Documentation](https://playwright.dev)
- [Authentication Test Plan](/en/testing/authentication-test-plan) - Full test specifications
- [Testing Summary](/en/testing/testing-summary) - Implementation status

## Quick Test

Run tests now:
```bash [Terminal]
pnpm test:e2e:ui
```
