Run Mailpit E2E specs serially to stop flakes.
account-settings and password-reset called clearMailpit in parallel with other tests, wiping emails before waitForEmailChangeToken could read them. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
2fa161f4fa
commit
afa552e18b
2 changed files with 5 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ docker compose -f docker-compose.e2e.yml down
|
|||
|
||||
- Config: `frontend/playwright.config.ts`
|
||||
- Tests: `frontend/e2e/*.spec.ts`
|
||||
- Serial specs (`deferred-payment-admin`, `admin-fulfillment`): Playwright project `chromium-serial`, `workers: 1`
|
||||
- Serial specs (shared Mailpit / DB state): `deferred-payment-admin`, `admin-fulfillment`, `account-settings`, `password-reset` — Playwright project `chromium-serial`, `workers: 1`
|
||||
|
||||
### CI (future)
|
||||
- `./gradlew check` and `npm run test && npm run lint` must pass before merge.
|
||||
|
|
|
|||
|
|
@ -26,6 +26,8 @@ export default defineConfig({
|
|||
testIgnore: [
|
||||
'**/deferred-payment-admin.spec.ts',
|
||||
'**/admin-fulfillment.spec.ts',
|
||||
'**/account-settings.spec.ts',
|
||||
'**/password-reset.spec.ts',
|
||||
],
|
||||
use: { browserName: 'chromium' },
|
||||
},
|
||||
|
|
@ -34,6 +36,8 @@ export default defineConfig({
|
|||
testMatch: [
|
||||
'**/deferred-payment-admin.spec.ts',
|
||||
'**/admin-fulfillment.spec.ts',
|
||||
'**/account-settings.spec.ts',
|
||||
'**/password-reset.spec.ts',
|
||||
],
|
||||
fullyParallel: false,
|
||||
workers: 1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue