e2e

Generate and run end-to-end tests with Playwright.

1|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/hafidzlvm/opencode --skill e2e-hafidzlvm
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: e2e
Source: https://github.com/hafidzlvm/opencode/tree/main/.dsh/skills/e2e
Command: npx skills add https://github.com/hafidzlvm/opencode --skill e2e-hafidzlvm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing and executing end-to-end browser tests is time-consuming and requires boilerplate setup. This Skill streamlines the process by generating and running Playwright E2E tests directly from a user request. ## Core Features & Use Cases - E2E Test Generation: Creates Playwright test scripts based on the scenario you describe. - Test Execution: Runs the generated tests to validate application behavior in a real browser context. - Use Case: After building a new checkout flow, invoke the skill with a description of the user journey to generate and run Playwright tests that verify each step works end to end. ## Quick Start Invoke the /e2e command with a description of the user flow you want tested, such as asking it to generate and run a Playwright test for the login page.

Frequently Asked Questions about e2e

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

FAQPage Schema
How do I generate E2E tests with Playwright?▼

Invoke the /e2e command and describe the user flow you want to test. The skill generates a Playwright test script for that scenario and runs it against your application.

How to run Playwright tests from a prompt?▼

Pass your test scenario as arguments to the /e2e command. Any text you provide is treated as the test specification, and the skill handles both generating and executing the Playwright test.

Does this skill require Playwright to be installed?▼

Yes, the generated tests are Playwright tests, so the Playwright framework must be available in your project environment to execute them. The skill itself focuses on test generation and orchestration.

What kinds of tests can Playwright E2E generation cover?▼

It covers browser-level user flows such as navigation, form submission, authentication, and multi-step interactions. It is not intended for unit tests or isolated component logic, which are better handled by unit testing frameworks.