Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/e2e-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ yarn playwright install chromium

## Adding a Test

Before adding a new E2E spec, check the
[E2E layer migration matrix](./layer-migration-matrix.md) — it classifies every spec by
the cheapest layer that can catch the bug (unit, integration, component, cluster-free
E2E, or full-cluster E2E), so new coverage lands at the right level.

To incorporate a new test case, create a file with a `.spec.ts` extension in the `e2e-tests/playwright/e2e` directory.
The tests within a spec file can run in parallel (by default) or sequentially if using the `.serial` modifier like in [these examples](../../e2e-tests/playwright/e2e/). Note that sequential execution is considered a bad practice and is strongly discouraged.
To add or edit a test, you should adhere to the [contribution guidelines](./CONTRIBUTING.MD).
Expand All @@ -49,6 +54,7 @@ To run the tests, ensure you have:
- [Playwright browsers installed](#install-playwright-browsers)

#### macOS Users

**Important**: If you're using macOS, you need to install GNU `grep` and GNU `sed` to avoid compatibility issues with scripts and CI/CD pipelines:

```bash
Expand Down
Loading
Loading