Skip to content
Merged
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
2 changes: 2 additions & 0 deletions docs/cli/testing-strategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ For Vitest problems, see [our troubleshooting page](troubleshooting.md) or the [

End-to-end tests live under `packages/e2e` and are implemented using [Playwright](https://playwright.dev/). They test full user journeys by invoking the CLI and verifying outputs. Run them with `pnpm test:e2e`.

See the [E2E setup guide](../../packages/e2e/README.md) for legacy resource cleanup.

## GitHub Actions

Use [the PR workflow](../../.github/workflows/tests-pr.yml) and [CLI pre-submit CI guide](../../.agents/skills/cli-pre-submit-ci/SKILL.md) to choose local checks and generated files. Follow the check requirements of the active automation task.
Expand Down
13 changes: 13 additions & 0 deletions packages/e2e/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# E2E tests

Run local tests without Shopify credentials:

```sh
pnpm --filter e2e exec playwright test --project local
```

## Old store cleanup

`cleanup-stores.ts` remains available for old temporary stores. It excludes the `no-delete-e2e-` prefix and all stores configured in `E2E_STORE_FQDNS` or `E2E_STORE_FQDN`. Full and delete modes use five browser workers and the existing `store delete` behavior. Force mode sends API deletion requests with twenty workers and skips app checks. Confirmed deletions and requests still awaiting confirmation are reported separately. Force deletion can leave app installation records that prevent app deletion until the backend clears them.

Use `--list` first and select a narrow `--pattern`. These cleanup commands do not run as part of the persistent-store test lifecycle.
2 changes: 2 additions & 0 deletions packages/e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export default defineConfig({
'tests/smoke-pty.spec.ts',
'tests/fixture-toml.spec.ts',
'tests/auth-diagnostics.spec.ts',
'tests/persistent-stores.spec.ts',
],
},
{
Expand All @@ -45,6 +46,7 @@ export default defineConfig({
'tests/smoke-pty.spec.ts',
'tests/fixture-toml.spec.ts',
'tests/auth-diagnostics.spec.ts',
'tests/persistent-stores.spec.ts',
],
dependencies: ['remote-auth'],
},
Expand Down
Loading
Loading