E2E Tests #2267
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: E2E Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| merge_group: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 2 * * 0' | |
| permissions: {} | |
| # Supersede stale PR runs; a push to a PR branch otherwise leaves the previous | |
| # ~9min E2E run burning a runner to validate a commit nobody will merge. | |
| # merge_group and push-to-main are never cancelled. | |
| # (Safe to edit here: e2e.yml is not part of the typo3-extension template, so | |
| # check-template-drift.yml does not byte-compare it. checks.yml IS templated — | |
| # its concurrency block has to come from netresearch/.github instead.) | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| e2e: | |
| uses: netresearch/typo3-ci-workflows/.github/workflows/e2e.yml@main | |
| permissions: | |
| contents: read | |
| with: | |
| php-version: '8.5' | |
| # 12.3, not 12.2: 12.0-12.2 are rolling releases, 12.3 is the LTS of | |
| # the 12 series (and the only 12.x still built — 12.2 stopped in May). | |
| db-image: 'mariadb:12.3' | |
| # Seed WAITING_FOR_APPROVAL/INPUT runs before Playwright so the a11y | |
| # suite can exercise the approve/deny + schema-input forms (ADR-109). | |
| # Default-mode override: the workflow sets up TYPO3 and starts the | |
| # server, then runs this instead of the default `npm run test:e2e`. | |
| test-command: 'bash Tests/E2E/seed-and-test.sh' | |
| artifact-path: | | |
| Tests/E2E/Playwright/reports/ | |
| Tests/E2E/Playwright/test-results/ |