playwright-expert

Automate Playwright end-to-end test design and infrastructure setup.

1|Updated Aug 12, 2023
One-click install
npx skills add https://github.com/nktfh100/nixos-config --skill playwright-expert-nktfh100
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-expert
Source: https://github.com/nktfh100/nixos-config/tree/main/claude/skills/playwright-expert
Command: npx skills add https://github.com/nktfh100/nixos-config --skill playwright-expert-nktfh100

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Streamlines building, maintaining, and debugging Playwright-based end-to-end tests, reducing flaky runs and setup overhead.

Core Features & Use Cases

  • Page Object Model scaffolding and reusable test components
  • API mocking, fixtures configuration, reporters, and CI integration for robust pipelines
  • Cross-browser execution with traces and screenshots for debugging and quality assurance

Quick Start

Create a new Playwright test suite using the provided templates and run it to validate a simple flow.

Frequently Asked Questions about playwright-expert

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

FAQPage Schema
How do I structure Playwright tests using the Page Object Model?

Playwright test flakiness can be reduced by enforcing auto-waiting mechanisms, utilizing API mocking for stable responses, and capturing traces and screenshots during cross-browser execution for robust debugging.

Can I integrate Playwright e2e-testing into my CI pipelines?

Yes, Playwright e2e-testing can be integrated into CI pipelines by configuring fixtures and reporters, ensuring robust automated testing infrastructure and reliable cross-browser execution within your continuous integration workflow.

What is the best way to debug Playwright test failures?

The best way to debug Playwright test failures involves capturing traces and screenshots during cross-browser execution, allowing you to inspect the exact state of the application and resolve testing infrastructure issues quickly.

How do I configure API mocking and fixtures for Playwright tests?

API mocking and fixtures configuration in Playwright involves setting up test infrastructure to intercept network requests and define reusable test states, ensuring reliable and isolated end-to-end test execution.