| name | test |
| description | Run e2e tests relevant to the current changes. Selects `.feature` files based on `git diff`, runs `just test-quick`, and skips e2e when changes are server-only with no UI impact. Triggers on "run tests", "test this", "check if it works", "e2e", "test the changes". |
Test
Run e2e tests scoped to the current branch's changes.
Steps
- Identify changed files: Run
git diff master...HEAD --name-only to list files changed on this branch.
- Select relevant feature files: Match changed files to
.feature files under packages/tests/features/. Use file names, component names, and domain knowledge to find the right scenarios.
- Decide whether to run e2e:
- If changes touch
packages/client/src/, packages/tests/, or packages/common/src/ — run the matching feature files.
- If changes are purely server-internal (
packages/server/src/ only) with no UI impact — unit tests may suffice. Skip e2e if no relevant scenarios exist.
- Run:
just test-quick features/foo.feature (or just test-quick features/foo.feature:42 for a single scenario).
just test-quick is fast — no nix build, no separate dev server needed.