Playwright - GitLab CI/CD
Running Playwright test in parallel using GitLab CI/CD
# .gitlab-ci.yml
default:
image: mcr.microsoft.com/playwright:latest
stages:
- test
test:
image: mcr.microsoft.com/playwright:latest
stage: test
parallel: 3
script:
- npm ci
- npx playwright install
- cd ./basic
- npx pwc --key $CURRENTS_RECORD_KEY --project-id bnsqNa --shard=$CI_NODE_INDEX/$CI_NODE_TOTAL

Setup
GitLab CI Playwright Results
GitLab Merge Request Notes


Last updated
Was this helpful?