refactor: remove problem description and adjust spacing in problem li… #13
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: Playwright E2E Tests | |
| on: | |
| push: | |
| branches: [main, master, E2E-Test] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| e2e: | |
| name: E2E Tests (Docker) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| # Docker & Docker Compose are pre-installed on ubuntu-latest runners. | |
| # The Playwright image (mcr.microsoft.com/playwright:v1.49.0-jammy) | |
| # ships Chromium, Firefox, and WebKit – no browser install step needed. | |
| - name: Build images and run E2E tests | |
| run: | | |
| docker compose -f docker-compose.e2e.yml up \ | |
| --build \ | |
| --abort-on-container-exit \ | |
| --exit-code-from playwright | |
| # Reports are written to ./playwright-report/ via the bind-mount volume | |
| - name: Upload Playwright HTML report | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: playwright-report | |
| path: playwright-report/ | |
| retention-days: 30 | |
| - name: Upload test result traces / screenshots | |
| uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: test-results | |
| path: test-results/ | |
| retention-days: 7 | |
| - name: Tear down Docker Compose | |
| if: always() | |
| run: | | |
| docker compose -f docker-compose.e2e.yml down \ | |
| --volumes --remove-orphans |