web-testing

Run web application tests with Playwright, Vitest, and k6.

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/IoT-VN/tuya-energy-dashboard --skill web-testing-iot-vn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-testing
Source: https://github.com/IoT-VN/tuya-energy-dashboard/tree/main/.opencode/skills/web-testing
Command: npx skills add https://github.com/IoT-VN/tuya-energy-dashboard --skill web-testing-iot-vn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @axe-core/playwright, @axe-core/cli, @playwright/test, k6, vitest, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a robust framework for ensuring the quality, performance, and accessibility of web applications through automated testing.

Core Features & Use Cases

  • End-to-End (E2E) Testing: Simulate real user journeys across your application.
  • Unit & Integration Testing: Verify individual components and their interactions.
  • Performance & Load Testing: Assess application responsiveness under stress.
  • Accessibility & Security Audits: Ensure compliance and identify vulnerabilities.
  • Use Case: Automatically run a suite of tests against your staging environment before each release to catch regressions, verify core functionality, and ensure a smooth user experience.

Quick Start

Execute all end-to-end tests using Playwright.

Frequently Asked Questions about web-testing

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

FAQPage Schema
How do I automate end-to-end and unit testing for my web application?

Automate web testing using Playwright for end-to-end cross-browser journeys and Vitest for unit and integration validation. This suite provides scripts to simulate user interactions, catch regressions, and verify core functionality before releases.

Can I assess Core Web Vitals and run load testing with Playwright?

Run performance and load testing using k6 to assess application responsiveness under stress. The suite analyzes Core Web Vitals metrics and evaluates system behavior during heavy traffic, ensuring your web application maintains smooth user experiences.

How do I run accessibility audits during automated web testing?

Run accessibility audits using @axe-core/playwright during your automated testing suite. This identifies compliance issues and vulnerabilities directly within your test pipeline, ensuring your web application meets accessibility standards before deployment.

What is the best way to mitigate flakiness in E2E testing?

Mitigate E2E testing flakiness by utilizing Playwright's built-in auto-waiting and cross-browser validation features. The suite provides structured scripts designed to handle timing issues, ensuring reliable test execution across different environments.

Do I need Vitest and Playwright to simulate mobile gestures in testing?

Use Playwright to simulate mobile gestures and validate cross-browser interactions. Vitest complements this by verifying individual component logic. Together they provide comprehensive coverage for both UI interactions and underlying integration logic.

Why does my web testing suite fail to validate cross-browser compatibility?

Cross-browser validation fails when test scripts lack proper browser configuration. Use the suite's Playwright integration to enforce consistent execution across multiple browser engines, identifying browser-specific regressions before release.