Skip to content

Development & Engineering

Playwright E2E Testing

Free

QA-engineer rules for Playwright end-to-end UI tests that detect TypeScript and adapt.

Difficulty intermediate
Version 1.0.0
Verified 2026-11-15
Updated 2026-11-23

Purpose

Install the original Playwright E2E Testing rule from PatrickJS/awesome-cursorrules and use it in Cursor.

Procedure

--- name: cursor-playwright-e2e description: QA-engineer rules for Playwright end-to-end UI tests that detect TypeScript and adapt. ---

Playwright E2E Testing

Purpose

Install the original Playwright E2E Testing rule from PatrickJS/awesome-cursorrules and use it in Cursor.

Procedure

Source: https://github.com/PatrickJS/awesome-cursorrules/blob/main/rules/playwright-e2e-testing-cursorrules-prompt-file.mdc Maintainer: Community (PatrickJS/awesome-cursorrules). Skilling lists this rule; the original lives in that repository.

Install

mkdir -p .cursor/rules
curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/playwright-e2e-testing-cursorrules-prompt-file.mdc -o .cursor/rules/playwright-e2e.mdc

Run this in the root of your project. Cursor loads .mdc files from .cursor/rules and applies them to the files matched by the globs line. Check Cursor Settings > Rules to see it listed.

What it does

  • Detects TypeScript automatically
  • End-to-end UI flows
  • Stable selectors and waits

How to use it

Cursor applies it to your project files.

Example requests

1. Use Playwright E2E Testing

Request: Cursor applies it to your project files. Expected: Detects TypeScript automatically.

Dependencies

Cursor, and curl.

Compatibility

This document follows the Agent Skills layout (a folder named cursor-playwright-e2e containing SKILL.md). Claude Code, Cursor, Codex, and Gemini CLI can load that file from the paths in the Skilling installation guide. GitHub Copilot does not load SKILL.md. Use the Copilot instructions copy, and narrow applyTo before you commit it. Last verified 2026-11-15.

Example prompts

Use Playwright E2E Testing

Cursor applies it to your project files.

Expected: Detects TypeScript automatically.

Choose the agent

This skill is installed for one agent at a time. Pick the section you are using.

Related

  • TypeScript Standards

    TypeScript coding standards: strict config, no any, unknown for unknown values, utility types.

  • Python FastAPI

    FastAPI and Pydantic v2 rules for scalable APIs: functional style, clear structure, error handling first.

  • Python Django

    Django best practices: built-in features first, PEP 8, modular apps and clean views.

Reviews

No reviews yet.

    Sign in to review.

    Report a problem

    Inaccurate steps, an unsafe instruction, or a licensing concern.

    Sign in to report.