playwright-ci
10
总安装量
7
周安装量
#30687
全站排名
安装命令
npx skills add https://github.com/testdino-hq/playwright-skill --skill playwright-ci
Agent 安装分布
codex
7
amp
4
opencode
4
kimi-cli
4
github-copilot
4
gemini-cli
4
Skill 文档
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
retries: 2in CI only â surface flakiness in pipelines, not locallytraces: 'on-first-retry'â capture rich debugging artifacts without slowing every run- Shard across runners â
--shard=N/Msplits tests evenly; scale horizontally, not vertically - Cache browser binaries â
~/.cache/ms-playwrightkeyed on Playwright version - Upload artifacts on failure â traces, screenshots, and HTML reports as CI artifacts
- Use the official Docker image â
mcr.microsoft.com/playwright:v*has all OS deps pre-installed - Global setup for auth â run login once in
globalSetup, reusestorageStateacross workers - Fail fast, debug later â keep CI runs short; use trace viewer and HTML reports to investigate
Guide Index
CI Providers
| Provider | Guide |
|---|---|
| GitHub Actions | ci-github-actions.md |
| GitLab CI | ci-gitlab.md |
| CircleCI / Azure DevOps / Jenkins | ci-other.md |
Execution & Scaling
| Topic | Guide |
|---|---|
| Parallel execution & sharding | parallel-and-sharding.md |
| Docker & containers | docker-and-containers.md |
| Multi-project config | projects-and-dependencies.md |
Reporting & Setup
| Topic | Guide |
|---|---|
| Reports & artifacts | reporting-and-artifacts.md |
| Code coverage | test-coverage.md |
| Global setup/teardown | global-setup-teardown.md |