laravel:e2e-playwright

Community

Reliable E2E tests for Laravel apps.

Authormeistro57
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the common challenges of flaky, slow, and hard-to-maintain End-to-End (E2E) tests in Laravel applications, ensuring test reliability and developer productivity.

Core Features & Use Cases

  • Environment Management: Integrates with Laravel Sail and custom .env files for isolated test environments.
  • State Management: Utilizes database seeding and factories for consistent test data setup and teardown.
  • Selector Strategy: Promotes stable test selectors using data-testid attributes to minimize refactoring impact.
  • Authentication: Optimizes login flows by reusing session state or using API-based user creation.
  • Use Case: Ensure a critical user registration flow functions correctly across different browser environments by running a suite of Playwright tests that set up users, perform actions, and verify outcomes.

Quick Start

Run the E2E Playwright tests using sail pnpm playwright:test.

Dependency Matrix

Required Modules

playwright

Components

scriptsreferences

💻 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: laravel:e2e-playwright
Download link: https://github.com/meistro57/chat_bridge/archive/main.zip#laravel-e2e-playwright

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.