Files
pl_mail/package.json
6292ce2cda Bump @playwright/test from 1.63.0 to 1.64.0 in the playwright group across 1 directory (#190)
* Bump @playwright/test

Bumps the playwright group with 1 update in the / directory: [@playwright/test](https://github.com/microsoft/playwright).


Updates `@playwright/test` from 1.63.0 to 1.64.0
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.63.0...v1.64.0)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-version: 1.64.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: playwright
...

Signed-off-by: dependabot[bot] <support@github.com>

* E2E: abort the stubbed reconnect navigation instead of answering 204

Chromium 156 (Playwright 1.64) reports a navigation that ends in a 204 as a
finished request that commits nothing, where Chromium 155 reported it as
failed (net::ERR_ABORTED). Playwright's click waits for the navigation it
started to commit or fail, so with 1.64 the click never returned and the
test timed out reading "" off a closing page. An abort is reported as a
failure by every Chromium and keeps the document just the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* E2E: touch beside the open drawer, after it has stopped sliding

The drawer-open pull touched the middle of the rows (x~196) right after
`inert` came off, at the start of the drawer's 200ms slide. Once the 256px
drawer has arrived, that point is the drawer, not the backdrop, so the
hit-test only passed while it beat the transition; slower CI runners lost
that race on every branch from 2026-10-16. Wait for the drawer to rest,
then touch the backdrop strip to its right, and pull at the same point
once it is closed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paul Lützner <karatektus@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 13:54:34 +02:00

33 lines
1.7 KiB
JSON

{
"name": "plmail-e2e",
"private": true,
"description": "End-to-end tests for plMail (Playwright). Separate from the app's AssetMapper/importmap frontend.",
"scripts": {
"test:env:up": "docker compose -f compose.test.yaml up -d --build --wait app worker-bulk",
"test:env:down": "docker compose -f compose.test.yaml down",
"test:env:reset": "docker compose -f compose.test.yaml down -v",
"test:env:logs": "docker compose -f compose.test.yaml logs -f app",
"test:unit:docker": "npm run test:env:up && docker compose -f compose.test.yaml run --rm --no-deps --entrypoint docker-php-entrypoint app sh bin/test-unit.sh",
"test:e2e:docker": "npm run test:env:up && playwright test",
"test:e2e:docker:ui": "npm run test:env:up && playwright test --ui",
"test:e2e:docker:headed": "npm run test:env:up && playwright test --headed",
"test:e2e:docker:trace": "npm run test:env:up && playwright test --trace on --video on",
"test:e2e": "playwright test",
"test:e2e:site": "php bin/build-site.php && E2E_SITE=1 playwright test site.spec.ts",
"test:e2e:screenshots": "E2E_SCREENSHOTS=1 playwright test screenshots.spec.ts",
"test:e2e:coverage": "rm -rf var/js-coverage && E2E_JS_COVERAGE=1 playwright test && node bin/js-coverage.mjs",
"test:e2e:ui": "playwright test --ui",
"test:e2e:headed": "playwright test --headed",
"test:e2e:report": "playwright show-report",
"typecheck": "tsc --noEmit -p tsconfig.json"
},
"engines": {
"node": ">=18"
},
"devDependencies": {
"@playwright/test": "^1.64.0",
"@types/node": "^26.6.5",
"typescript": "^7.0.2"
}
}