Modern QA2026Project Structure — tiles
Log inJoin
58 / 139 · 13 Browser Automation with Playwright · Setup and First Test← prev⊞ allnext →☰ Read as one page

5.3Project Structure

A typical Playwright project:

project/
├── playwright.config.ts     # Test runner configuration
├── tests/
│   ├── login.spec.ts        # Test files (*.spec.ts)
│   ├── checkout.spec.ts
│   └── fixtures/            # Custom fixtures
│       └── auth.ts
├── pages/                   # Page objects
│   ├── login.page.ts
│   └── dashboard.page.ts
├── test-data/               # Test data files
└── test-results/            # Generated: traces, screenshots, videos