stages: - test - report playwright_tests: stage: test image: mcr.microsoft.com/playwright:focal script: - npm install - npx playwright install - npx playwright test artifacts: paths: - test-results/ expire_in: 1 week send_report: stage: report image: alpine:latest script: - apk add --no-cache curl - | if [ -d test-results ]; then echo "Test Successful." else echo "No test results found." fi only: - main