ck:web-testing

Automate unit, E2E, and load tests with Vitest, Playwright, and k6.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/DatTran26/KienTruThiHanh --skill ck-web-testing-dattran26
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:web-testing
Source: https://github.com/DatTran26/KienTruThiHanh/tree/main/.agents/skills/web-testing
Command: npx skills add https://github.com/DatTran26/KienTruThiHanh --skill ck-web-testing-dattran26

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Web application testing is complex across unit, integration, E2E, load, security, visual, and accessibility layers; this skill provides a unified approach to automate and orchestrate these tests.

Core Features & Use Cases

  • Orchestrates unit tests with Vitest, E2E tests with Playwright, and load tests with k6 to cover performance and reliability.
  • Provides cross-browser and mobile gesture testing, accessibility checks with axe-core, and visual regression using screenshot comparisons.
  • Use cases include validating CI pipelines, reducing flakiness, and ensuring Core Web Vitals targets across changes.

Quick Start

Run Vitest for unit tests, Playwright for E2E, and k6 for load tests to validate a new release.

Frequently Asked Questions about ck:web-testing

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

FAQPage Schema
How do I automate web testing across unit, E2E, and load tests?

Automate web testing by orchestrating Vitest for unit tests, Playwright for E2E, and k6 for load tests. This unified approach validates CI pipelines, reduces flakiness, and ensures performance targets across application changes.

What's the best way to reduce test flakiness and optimize Core Web Vitals?

Reduce test flakiness and optimize Core Web Vitals by applying cross-browser Playwright automation alongside k6 load testing. This combination validates performance targets and ensures reliability across mobile gestures and browser changes.

Can I run cross-browser and mobile gesture testing with Playwright?

Yes, Playwright supports cross-browser and mobile gesture testing. It orchestrates E2E test automation across different browsers and devices, while Vitest handles unit tests and k6 manages load testing.

How do I add accessibility and visual regression checks to my web testing pipeline?

Add accessibility checks using axe-core and visual regression via screenshot comparisons. These integrate into your web testing pipeline alongside Vitest unit tests and Playwright E2E tests to ensure comprehensive coverage.

Does this web testing approach work for validating CI pipelines?

Yes, this web testing approach validates CI pipelines by orchestrating Vitest, Playwright, and k6. It provides deterministic scripts and references to automate unit, integration, E2E, load, security, visual, and accessibility testing.

Why do I need k6 for load testing in my web testing setup?

You need k6 for load testing to validate performance and reliability under stress. It complements Vitest unit tests and Playwright E2E tests by ensuring your web application meets Core Web Vitals targets during peak usage.