e2e-testing

Automate Playwright E2E test execution with TypeScript and CI/CD support.

12|4|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/TeiNam/kiro-with-harness --skill e2e-testing-teinam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-testing
Source: https://github.com/TeiNam/kiro-with-harness/tree/main/skills/e2e-testing
Command: npx skills add https://github.com/TeiNam/kiro-with-harness --skill e2e-testing-teinam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, @playwright/test, typescript, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The e2e-testing Skill addresses the need for a comprehensive suite of Playwright E2E testing patterns, simplifying the process of creating stable, fast, and maintainable end-to-end test suites.

Core Features & Use Cases

  • Playwright Patterns: Utilizes advanced Playwright patterns for building reliable test suites.
  • Page Object Model (POM): Implements POM for structured testing and easier maintenance.
  • CI/CD Integration: Facilitates seamless integration into continuous integration/continuous deployment pipelines.
  • Artifact Management: Offers tools for managing screenshots, videos, and trace logs.
  • Flaky Test Patterns: Provides strategies for identifying and managing flaky tests.

Quick Start

Use the e2e-testing skill to execute all E2E tests for your project with the command 'npm run test'.

Frequently Asked Questions about e2e-testing

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

FAQPage Schema
How do I structure Playwright E2E tests to be maintainable?

Build maintainable Playwright E2E tests by applying the Page Object Model pattern to separate UI locators from test logic. This structured approach simplifies maintenance and keeps your end-to-end test suites stable as the application evolves.

What's the best way to handle flaky tests in Playwright?

Handle flaky tests in Playwright by applying targeted strategies to identify and manage test instability. The skill provides specific patterns designed to isolate flaky behavior and stabilize your end-to-end test execution over time.

Can I integrate Playwright E2E tests into a CI/CD pipeline?

Yes, you can integrate Playwright E2E tests into CI/CD pipelines. The automation skill facilitates seamless continuous integration workflows and provides artifact management tools to handle screenshots, videos, and trace logs generated during test execution.

Do I need TypeScript to run these end-to-end tests?

Yes, you need TypeScript installed along with the Playwright and @playwright/test packages to run these end-to-end tests. The automation patterns and test scripts are built specifically for a TypeScript environment.

How do I manage screenshots and trace logs from Playwright test runs?

Manage Playwright screenshots, videos, and trace logs using the included artifact management tools. These tools organize test output and help you review end-to-end test failures efficiently during local development or CI/CD execution.

How do I execute all Playwright E2E tests for a project?

Execute all Playwright E2E tests for your project by running the npm run test command. This triggers the automation suite to run your TypeScript-based end-to-end tests and generate the relevant test artifacts.