mcpField
P
playwright-ci

playwright-ci

github.com/testdino-hqTesting & quality405391 installsUpdated 2w ago
Repository

About playwright-ci

Playwright CI/CD is a guide set for teams running Playwright tests in continuous integration pipelines. It covers provider setup, execution at scale, containers, reporting, and infrastructure practices.

Key features

  1. 01CI provider setup guides
  2. 02Parallel execution and sharding
  3. 03Docker and container guidance
  4. 04Reports and artifact handling
  5. 05Coverage and global setup guidance

Use cases

  1. 01Configure Playwright in a CI pipeline
  2. 02Split tests across CI runners
  3. 03Collect traces and reports after failures
  4. 04Reuse authentication state across workers

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/testdino-hq/playwright-skill --skill playwright-ci

After installing, type/playwright-ciin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

ci-github-actions.md
ci-gitlab.md
ci-other.md
docker-and-containers.md
global-setup-teardown.md
parallel-and-sharding.md
projects-and-dependencies.md
reporting-and-artifacts.md
test-coverage.md

Details

From the project README

Playwright CI/CD

Ship reliable tests in every pipeline — CI-specific patterns for speed, stability, and actionable reports.

9 guides covering CI/CD setup, parallel execution, containerized runs, reporting, and infrastructure patterns for all major CI providers.

Golden Rules

  1. retries: 2 in CI only — surface flakiness in pipelines, not locally
  2. traces: 'on-first-retry' — capture rich debugging artifacts without slowing every run
  3. Shard across runners — --shard=N/M splits tests evenly; scale horizontally, not vertically
  4. Cache browser binaries — ~/.cache/ms-playwright keyed on Playwright version
  5. Upload artifacts on failure — traces, screenshots, and HTML reports as CI artifacts
  6. Use the official Docker image — mcr.microsoft.com/playwright:v* has all OS deps pre-installed
  7. Global setup for auth — run login once in globalSetup, reuse storageState across workers
  8. Fail fast, debug later — keep CI runs short; use trace viewer and HTML reports to investigate

Guide Index

CI Providers
ProviderGuide
GitHub Actionsci-github-actions.md
GitLab CIci-gitlab.md
CircleCI / Azure DevOps / Jenkinsci-other.md
Execution & Scaling
TopicGuide
Parallel execution & shardingparallel-and-sharding.md
Docker & containersdocker-and-containers.md
Multi-project configprojects-and-dependencies.md
Reporting & Setup
TopicGuide
Reports & artifactsreporting-and-artifacts.md
Code coveragetest-coverage.md
Global setup/teardownglobal-setup-teardown.md

Comments

Markdown supported