pw-to-vitest

Official

Migrate Playwright tests to Vitest.

Authorkunai-consulting
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the conversion of Playwright test files and drivers into the Vitest Browser API format, streamlining the migration of component tests.

Core Features & Use Cases

  • Automated Conversion: Transforms .test.ts and .driver.ts files to Vitest's .browser.tsx format.
  • Pattern Adaptation: Adjusts Playwright's interaction and assertion patterns to Vitest's equivalent APIs.
  • Use Case: When migrating the component test suite for @qds.dev/ui from Playwright to Vitest, use this Skill to convert existing tests in libs/components/src/ to the new framework.

Quick Start

Use the pw-to-vitest skill to convert the Playwright test file '/path/to/your/component.test.ts' to Vitest format.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pw-to-vitest
Download link: https://github.com/kunai-consulting/qwik-design-system/archive/main.zip#pw-to-vitest

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.