SkillsReviewed · wshobson

E2E Testing Patterns

E2E Testing Patterns is an assistant skill for developers creating browser tests, but its examples require project-specific setup and completion. It provides Playwright and Cypress guidance covering user journeys, test data, reliable waits, network mocking, debugging, visual checks and accessibility scans.

Researched 17 Nov 2026

In short.

E2E Testing Patterns is an assistant skill for developers building browser tests, but its examples need project-specific setup and completion. Its main instruction file introduces testing priorities and debugging practices, while a separate reference supplies TypeScript examples for Playwright and Cypress. The Playwright material includes page objects, fixtures, browser projects, traces, screenshots, sharding and accessibility scans. Several helpers, types and imports remain for the developer to supply. Supported dependency versions, operating costs and runtime results are unknown.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete selected folder plugins/developer-essentials/skills/e2e-testing-patterns: SKILL.md and references/details.md, at commit 9c61ab243def98f72da12abd41cfcf5bcd91af9d. The repository-root LICENSE is included as the related notice outside that folder. Other repository skills, plugins, external package documentation and application implementations are outside scope. No code or commands were executed. Runtime behavior, dependency compatibility, real browser journeys, accessibility outcomes, performance and operating costs remain unverified.

The overview

Resource identity

E2E Testing Patterns is a folder-based assistant skill in the wshobson/agents repository, under plugins/developer-essentials/skills/e2e-testing-patterns. Its entry file is SKILL.md, which points to references/details.md for worked examples.

The original resource location is [https://github.com/wshobson/agents/tree/main/plugins/developer-essentials/skills/e2e-testing-patterns]. The two documents provide instructions and example code; they do not constitute a complete application-specific test suite.

Practical assessment

The skill offers a useful starting point for organizing browser tests around important user journeys. Its strongest material connects general advice to concrete examples: label and role locators, isolated test data, assertions that wait for visible conditions, intercepted API responses and failure diagnostics.

It is less suitable as a copy-and-run starter. The examples assume an application with matching routes, labels, endpoints and accounts, and several snippets omit supporting definitions. No execution results or measurements establish that adopting these patterns reduces failures, accelerates delivery or improves test speed.

Who it suits

The intended users are developers implementing end-to-end tests, investigating unreliable tests or defining shared testing practices. Beginners receive a testing pyramid and examples of critical journeys such as login and checkout. They will still need basic familiarity with their application and JavaScript or TypeScript tooling.

Experienced developers can use the material as a reference for page objects, fixtures, request interception and CI configuration. Teams seeking a complete CI workflow, a supported dependency matrix or an application-specific accessibility assessment will need additional material.

Patterns covered

The Playwright examples cover a login page object, user-data fixtures, condition-based waiting, response observation, API mocking and request modification. Configuration examples include Chromium, Firefox and WebKit projects, iPhone 13 emulation, HTML and JUnit reports, first-retry traces, failure screenshots and retained failure videos.

The Cypress material covers configuration, typed custom commands, API-backed user creation, data-attribute selectors and interception of successful, modified and delayed responses. Additional Playwright examples illustrate screenshot comparisons, CI sharding and accessibility scans using @axe-core/playwright.

The main file also describes headed execution, debug mode, trace inspection, screenshots, named test steps and pausing in the inspector. These are documented techniques; successful operation is not established by the supplied evidence.

Using it

Requirements and dependencies

Applying the examples requires a reachable application, a suitable Node.js/npm environment and either Playwright or Cypress. The Playwright snippets import @playwright/test. Accessibility examples additionally use @axe-core/playwright. The Cypress findByRole and findByLabelText examples require @testing-library/cypress and its support-file command import.

The sample application address is [http://localhost:3000]. Routes, selectors and API responses must match the target application. The admin fixture expects ADMIN_PASSWORD, and user creation and deletion require project-specific helpers. No minimum Node.js version, dependency version range, supported assistant host or model requirement is stated.

How it works

SKILL.md supplies guidance about when to use browser tests, what to prioritize and which practices to follow. It directs the reader or assistant to references/details.md when more detailed patterns are needed.

The examples then translate those practices into test-runner configuration and TypeScript code. Page objects collect page interactions into reusable methods, fixtures prepare and remove data, and network interception controls selected responses. Browser execution depends on the developer integrating those examples into a test project.

Setup and adaptation

Preserve the relationship between SKILL.md and references/details.md when using the folder as a skill. Host-specific installation or registration instructions are not included.

Choose the Playwright or Cypress examples that match the project, install the required packages and configure the application address. Replace example routes, selectors and credentials, supply the missing data helpers and types, and register any Cypress custom commands or Testing Library additions.

The Playwright configuration uses 30-second test timeouts, 5-second assertion timeouts and two retries in CI. It also sets one CI worker despite enabling fullyParallel. Sharding is illustrated through separate command-line invocations; a complete CI workflow is not supplied.

Representative example

The Playwright login example defines a LoginPage class that finds email and password fields by label and the login button by role. Its successful-login test submits example credentials and asserts a dashboard URL and visible Dashboard heading. A second test checks that invalid credentials produce an error message.

The fixture example extends this approach by creating a test user before use and deleting that user afterward. It illustrates data lifecycle management, but createTestUser and deleteTestUser are not defined. The demonstrated assertions describe expected behavior; no supplied result shows that they pass against an application.

Assessment & evidence

Limitations and gaps

Several snippets need completion. Besides the fixture helpers, the Cypress custom-command example references UserData and User types without defining them. Some usage snippets require additional imports. The admin password non-null assertion supplies no runtime validation that the environment variable exists.

Mocked API and payment responses establish only the behavior expected under those simulated responses. They provide no evidence about real service integration. The disabled-button screenshot example sets the disabled attribute directly, leaving the interaction that causes that state outside its scope.

The accessibility examples either exclude a third-party widget or restrict scanning to a form. They do not establish whole-application accessibility. The main file also broadly discourages E2E edge cases, while the reference includes invalid login and server-error scenarios; teams must still choose important failure paths for their own application.

Why it may fit

The case for using this skill rests on the combination of concise principles and worked examples. A developer can connect advice about independent tests to fixture setup and teardown, or advice about unreliable waits to visible-state assertions and response waiting.

That makes it a plausible reference for building or reviewing a browser-test suite. This is an inference from the documentation's structure and content. Improvements in reliability, maintenance effort or execution speed remain unmeasured.

Other approaches

For unit-level logic or API contracts, the skill itself recommends unit or integration tests. Those approaches address different testing scopes from browser journeys.

Within the folder, Playwright receives more extensive worked coverage, including fixtures, page objects, visual comparisons and accessibility scans. Cypress examples focus on configuration, custom commands and interception. This difference in documentation coverage does not establish that either framework is superior. No competing skill is compared in the supplied evidence.

Source evidence

The source material consists of the complete SKILL.md, its references/details.md file and the repository-level LICENSE. The instruction file is available at [https://raw.githubusercontent.com/wshobson/agents/9c61ab243def98f72da12abd41cfcf5bcd91af9d/plugins/developer-essentials/skills/e2e-testing-patterns/SKILL.md].

The worked examples are available at [https://raw.githubusercontent.com/wshobson/agents/9c61ab243def98f72da12abd41cfcf5bcd91af9d/plugins/developer-essentials/skills/e2e-testing-patterns/references/details.md]. These documents establish the resource's contents and stated practices. They supply no execution results, benchmark data, complete sample application or dependency lockfile.

Access & freshness

Costs

No purchase price, subscription fee or usage tariff is stated for the skill. The MIT licence permits reuse, but total operating cost remains unknown.

Potential costs depend on the chosen setup, including assistant usage, CI execution, browser runtime and storage for traces, screenshots or videos. The evidence supplies no usage measurements or cost estimates.

Licence and reuse

The supplied repository-level MIT License names Seth Hobson, copyright 2024. It permits use, copying, modification, distribution, sublicensing and sale of the software and associated documentation, provided the copyright and permission notices accompany copies or substantial portions.

The licence disclaims warranties and liability. It does not establish the licence terms of the external packages used by the examples. The pinned notice is available at [https://raw.githubusercontent.com/wshobson/agents/9c61ab243def98f72da12abd41cfcf5bcd91af9d/LICENSE].

Version and freshness

The supplied source snapshot is pinned to commit 9c61ab243def98f72da12abd41cfcf5bcd91af9d and was captured on 17 November 2026 at 07:55:27.281 UTC. The commit identifies the documented source version; the capture time does not establish when the skill was last updated.

The examples contain no supported dependency version ranges. Later upstream changes and compatibility with current Playwright, Cypress or accessibility-package releases are unknown.

Practical next steps

Start with one important journey, such as login, and adapt its routes, selectors, accounts and assertions to the application. Supply the missing helpers and imports, use isolated test data and inspect failures through the documented traces or debug tools.

Decide which checks need real backend integration and which can use mocked responses. Define the intended browser and accessibility scope, verify package compatibility and configure the required CI jobs. If adopting the illustrated four-way sharding scheme, include all four shards; the document shows only two example invocations. Validate the resulting suite in the target environment before relying on it for release decisions.

Evidence for this report

LICENSEnotice · checked 2026-11-17