Skip to content

Instantly share code, notes, and snippets.

@imartinflores
Created September 1, 2025 15:24
Show Gist options
  • Save imartinflores/33c929d511b7023b20e6bd3bf02f8885 to your computer and use it in GitHub Desktop.
Save imartinflores/33c929d511b7023b20e6bd3bf02f8885 to your computer and use it in GitHub Desktop.
image: mcr.microsoft.com/playwright:v1.47.2-jammy
pipelines:
pull-requests:
'**':
- step:
name: Playwright tests
caches: [node]
script:
- npm ci
- mkdir -p test-results
- export PLAYWRIGHT_JUNIT_OUTPUT_NAME="test-results/junit.xml"
- npx playwright test --reporter=junit,line
artifacts:
- test-results/**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment