playwright-ci

Configure Playwright CI pipelines with sharding, caching, and report merging.

1|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/swongsuddee/windflu-test --skill playwright-ci-swongsuddee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-ci
Source: https://github.com/swongsuddee/windflu-test/tree/main/.agents/toolkit/playwright-skill/ci
Command: npx skills add https://github.com/swongsuddee/windflu-test --skill playwright-ci-swongsuddee

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It eliminates flaky Playwright CI runs and inconsistent artifacts by providing production-ready CI/CD patterns for setup, retries, reporting, and auth state reuse across major CI providers.

Core Features & Use Cases

  • Production-grade CI workflows: Opinionated GitHub Actions, GitLab CI, CircleCI/Azure DevOps/Jenkins templates that reliably install browsers, run tests, and publish reports.
  • Speed and stability at scale: Guidance for sharding, caching Playwright browser binaries, and trace retention settings that balance debug value with pipeline runtime.
  • Auth state reuse for dependable test suites: Patterns for global setup and storageState reuse so authenticated projects run consistently without re-login per worker.

Quick Start

Use the guide index to pick your CI provider and follow the sharded execution and artifact reporting patterns to get actionable HTML and trace outputs in your pipeline.

Frequently Asked Questions about playwright-ci

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run sharded Playwright tests in GitHub Actions?

Playwright sharding in GitHub Actions splits execution across parallel jobs to reduce runtime. This provides CI/CD configurations that apply sharded execution, cache browser binaries, and merge cross-job HTML reports for fast, stable pipelines.

What is the best way to reuse authentication state in Playwright CI pipelines?

Reusing authentication state in Playwright CI involves global setup and storageState reuse. This provides patterns for authenticated projects to run consistently across workers without re-login per job, ensuring dependable test suite execution.

Does this approach support GitLab CI and Azure DevOps for Playwright test reporting?

Yes, the approach supports GitLab CI, Azure DevOps, CircleCI, and Jenkins. It provides production-grade CI/CD templates that reliably install browsers, run tests, and publish actionable HTML and trace artifacts across these providers.

Why are my Playwright CI runs flaky and how do I configure retries?

Flaky Playwright CI runs often stem from inconsistent setup and missing retry strategies. This provides production-ready CI/CD patterns for retried execution, browser dependency caching, and trace retention to eliminate instability and balance debug value.

How do I collect Playwright traces and artifacts across multiple sharded jobs?

Collecting Playwright traces and artifacts across sharded jobs requires cross-job report merging using Playwright reporters. This provides configurations for trace and artifact collection with retention settings that balance pipeline runtime and debuggability.

Can I run Playwright tests in containerized CI environments?

Yes, you can run Playwright tests in containerized CI environments. This provides opinionated CI/CD configurations that reliably install browser dependencies and execute tests within containerized setups, ensuring consistent execution and artifact publishing.