GitLab CI

Add a SentinelQA upload step after your Playwright tests. Store environment variables in GitLab CI/CD variables.

yaml
playwright:
  image: node:20
  script:
    - npm ci
    - npm run test:playwright
    - npx sentinelqa upload
  variables:
    SENTINELQA_API_KEY: "$SENTINELQA_API_KEY"