Quick Start
Running Playwright test in parallel using GitLab CI/CD
Last updated
Was this helpful?
Was this helpful?
# .gitlab-ci.yml
default:
image: mcr.microsoft.com/playwright:v1.60.0-noble
stages:
- test
test:
image: mcr.microsoft.com/playwright:v1.60.0-noble
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