e2e-testing

Configure Playwright end-to-end tests with Page Object Model and CI artifact handling.

1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/riftzen-bit/gemini-setup --skill e2e-testing-riftzen-bit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-testing
Source: https://github.com/riftzen-bit/gemini-setup/tree/main/skills/e2e-testing
Command: npx skills add https://github.com/riftzen-bit/gemini-setup --skill e2e-testing-riftzen-bit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides repeatable, maintainable Playwright end-to-end testing patterns to reduce flakiness, simplify test organization, and ensure reliable CI artifact collection and reporting.

Core Features & Use Cases

  • Page Object Model (POM): Clean, reusable page abstractions to reduce duplication and race conditions.
  • Configuration & Parallelization: Playwright config tuned for multi-project runs, retries, traces, screenshots, and video retention.
  • Flaky Test Strategies: Quarantine, conditional skips, repeat-and-retry commands, and guidance to identify and fix timing and network issues.
  • Artifact & CI Integration: HTML, JUnit, and JSON reporters, artifact upload steps for GitHub Actions, and guidance for traces, screenshots, and videos.
  • Specialized Scenarios: Wallet/web3 mocking and safe handling of financial or critical flows that should be skipped in production.

Quick Start

Run the Playwright test suite against your staging site with BASE_URL set and inspect the playwright-report/index.html for results.

Frequently Asked Questions about e2e-testing

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

FAQPage Schema
How do I stop Playwright E2E tests from being flaky in CI?

To stop Playwright E2E tests from being flaky in CI, you can apply repeat-and-retry commands, conditional skips, and quarantine strategies while tuning traces, screenshots, and video retention to capture network and timing issues.

How do I configure Playwright Page Object Model to reduce test duplication?

Configuring Playwright with the Page Object Model provides clean, reusable page abstractions that reduce test duplication and race conditions across web applications, simplifying test organization and maintenance.

Can I use Playwright to test web3 wallet connections and financial critical-paths?

Yes, you can use Playwright to test web3 wallet connections and financial critical-paths by applying wallet mocking techniques and safe handling patterns that skip critical flows in production environments.

What's the best way to collect Playwright artifacts and reports in GitHub Actions?

The best way to collect Playwright artifacts and reports in GitHub Actions is configuring HTML, JUnit, and JSON reporters with upload steps to retain traces, screenshots, and videos from your CI test runs.

How do I configure Playwright for parallel projects and retries?

Configuring Playwright for parallel projects and retries involves tuning the Playwright config to handle multi-project runs, set retry limits, and manage artifact retention for local development and CI environments.