Playwright C# E2E

Community

Refactor-proof Playwright E2E test structure

AuthorLevironexe
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Playwright E2E tests often become brittle, slow, and hard to refactor when they duplicate locators across test files, repeat login flows, hardcode URLs, and lack CI diagnostics; this skill provides a safe, consistent .NET testing pattern that makes changes localized and failures easier to debug.

Core Features & Use Cases

  • Page Object Model (POM) for resilience: Encapsulates locators and user-action sequences in Pages/ so tests call intent-based async methods instead of raw page/locator queries.
  • Auth-ready fixtures via storage state: Uses StorageStatePath with an authenticated base class so most tests skip the login boundary and run faster.
  • CI-optimized reliability: Emphasizes async/await correctness, environment-configurable base URLs, retries/trace on failure, and troubleshooting outputs (trace/screenshot) instead of brittle sleeps.
  • Use Case: Converting an existing C# UI test suite into a maintainable structure where each feature gets a dedicated test class and each screen interaction is expressed as a POM method, reducing churn during UI changes.

Quick Start

Run an init step in your project, then ask your coding agent to generate a Playwright C# E2E plan and implement it with Pages, Fixtures, and feature-based Tests that use authenticated storage state.

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: Playwright C# E2E
Download link: https://github.com/Levironexe/architect/archive/main.zip#playwright-c-e2e

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 471,000+ vetted skills library on demand.