playwright-ci

Configure CI/CD pipelines for Playwright tests with sharding and artifact merging.

347|56|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/testdino-hq/playwright-skill --skill playwright-ci-testdino-hq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-ci
Source: https://github.com/testdino-hq/playwright-skill/tree/main/ci
Command: npx skills add https://github.com/testdino-hq/playwright-skill --skill playwright-ci-testdino-hq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you replace fragile, slow Playwright CI setups with production-ready pipeline configurations that produce reliable signals and actionable artifacts when tests fail.

Core Features & Use Cases

  • CI/CD-ready provider guides: Copy-paste workflows and pipeline templates for GitHub Actions, GitLab CI, and other major CI systems.
  • Speed and scale: Parallel execution and test sharding patterns to reduce wall-clock time while keeping results mergeable.
  • Debuggability in artifacts: Standard reporting patterns for HTML/blob reports, traces, and other CI artifacts needed for fast triage.
  • Production reliability rules: Guardrails like retries only in CI, trace-on-retry behavior, browser dependency installation, and consistent caching.

Quick Start

Use the playwright-ci skill to generate a working CI pipeline for your Playwright tests by following the GitHub Actions guide and enabling sharded execution with merged blob reports.

Frequently Asked Questions about playwright-ci

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

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

Test sharding splits Playwright test files across multiple GitHub Actions runners to reduce wall-clock time. This Skill provides pipeline templates that configure parallel execution and merge sharded blob reports into a unified, actionable artifact for fast triage.

What is the best way to merge Playwright reports from sharded CI runs?

Merging Playwright reports from sharded CI runs requires selecting compatible blob reporters to collect artifacts from all shards. This Skill configures your CI pipeline to capture, merge, and present unified HTML reports and traces for fast triage when tests fail.

How do I cache Playwright browser binaries in a Docker CI pipeline?

Caching Playwright browser binaries in a Docker CI pipeline involves configuring consistent caching paths within your containerized runs. This Skill provides production-ready configurations that standardize browser dependency installation and caching to speed up pipelines and ensure stability.

Does this Playwright CI configuration support global setup and teardown for authentication?

Yes, this Playwright CI configuration supports global setup and teardown for authentication. It wires environment preparation patterns to ensure storageState and artifacts remain consistent, handling one-time setup tasks like authenticated sessions reliably across CI providers.

Why do my Playwright CI tests fail sporadically and how do I configure trace-on-retry?

Sporadic Playwright CI failures often stem from environment instability, requiring retries only in CI and trace-on-retry behavior. This Skill applies production reliability guardrails to standardize retry configurations and capture traces exclusively for failed attempts, improving debuggability.

Can I use GitLab CI instead of GitHub Actions for containerized Playwright test execution?

Yes, you can use GitLab CI for containerized Playwright test execution. This Skill provides copy-paste workflow templates for major CI systems including GitLab CI, supporting containerized runs, parallel sharding, and artifact reporting across different providers.