testing

Create and debug Playwright and Vitest tests for web applications.

1|Updated Oct 27, 2025
One-click install
npx skills add https://github.com/langcore-org/united-productions-web --skill testing-langcore-org
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/langcore-org/united-productions-web/tree/main/.claude/skills/testing
Command: npx skills add https://github.com/langcore-org/united-productions-web --skill testing-langcore-org

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of writing, running, and managing tests for your web application, ensuring code quality and reliability.

Core Features & Use Cases

  • E2E Testing: Supports end-to-end browser testing with Playwright for simulating user interactions.
  • Unit & Integration Testing: Facilitates unit and integration tests using Vitest for faster, focused testing.
  • Test Strategy & Debugging: Assists in developing test strategies, debugging failing tests, and improving test coverage.
  • Use Case: When you need to implement a new authentication flow, this Skill can help you write Playwright tests to ensure users can log in successfully via email and Google, and that error handling works correctly.

Quick Start

Run all unit tests with coverage using the command npm run test:coverage.

Frequently Asked Questions about testing

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

FAQPage Schema
How do I write E2E tests for a web application using Playwright?

Playwright E2E testing for web applications involves simulating user interactions to verify critical flows like authentication. This Skill supports developing test strategies, creating browser tests, and validating that user journeys function correctly end-to-end.

What's the best way to run unit and integration tests with Vitest?

Vitest facilitates faster, focused unit and integration testing for your code. You can run all tests with coverage using the `npm run test:coverage` command to validate code quality and ensure your modules work together as expected.

Why does my E2E test fail intermittently and how do I debug flaky tests?

Debugging flaky tests requires a systematic test strategy to identify timing issues or inconsistent selectors. This Skill assists in analyzing failing test runs, improving test coverage, and stabilizing assertions for reliable quality assurance.

Can I integrate Vitest and Playwright tests into CI/CD pipelines?

CI/CD integration for quality assurance is fully supported. You can automate running your Vitest unit tests and Playwright E2E tests within your pipeline to ensure code quality and reliability are continuously validated before deployment.

When should I use Playwright versus Vitest for my testing strategy?

Use Vitest for fast unit and integration testing of isolated modules, and Playwright for E2E testing to simulate real user interactions in a browser. Combining both ensures comprehensive quality assurance across your web application.