CtrlK
BlogDocsLog inGet started
Tessl Logo

e2e-testing-patterns

Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment. Use when implementing E2E tests, debugging flaky tests, or establishing testing standards.

Install with Tessl CLI

npx tessl i github:wshobson/agents --skill e2e-testing-patterns
What are skills?

79

Does it follow best practices?

Agent success when using this skill

Validation for skill structure

SKILL.md
Review
Evals

Evaluation results

99%

26%

Online Bookstore E2E Test Suite

Playwright config and Page Object Model

Criteria
Without context
With context

testDir setting

0%

100%

Global timeout

0%

100%

fullyParallel enabled

100%

100%

CI retries

100%

100%

CI workers

100%

100%

Dual reporters

0%

100%

Failure media capture

37%

100%

Multi-browser projects

100%

100%

Page Object classes

100%

100%

Locator initialization in constructor

87%

100%

data-testid selectors

62%

87%

No fixed timeouts

100%

100%

Tests use Page Objects

100%

100%

Without context: $0.3743 · 1m 15s · 18 turns · 66 in / 5,099 out tokens

With context: $0.8952 · 2m 27s · 36 turns · 115 in / 8,538 out tokens

100%

27%

Product Catalog Cypress Test Suite

Cypress custom commands and API intercepts

Criteria
Without context
With context

baseUrl configured

100%

100%

viewport dimensions

0%

100%

video disabled

0%

100%

screenshotOnRunFailure

0%

100%

Command timeouts

0%

100%

Custom commands file

100%

100%

Login custom command

100%

100%

dataCy command

87%

100%

cy.intercept with alias

100%

100%

cy.wait with alias

100%

100%

data-cy selectors

100%

100%

API error scenario

100%

100%

Login command reuse

100%

100%

Without context: $0.5079 · 2m 34s · 22 turns · 71 in / 7,082 out tokens

With context: $0.7155 · 2m 21s · 33 turns · 30 in / 6,860 out tokens

81%

-8%

Payment Checkout E2E Tests

Playwright network mocking and accessibility

Criteria
Without context
With context

page.route() for mocking

100%

100%

route.fulfill() usage

100%

100%

Error scenario mocked

100%

100%

@axe-core/playwright import

100%

100%

AxeBuilder usage

100%

100%

Violations assertion

100%

100%

No fixed timeouts

100%

100%

Promise.all for parallel waits

100%

100%

test.step() usage

0%

0%

Playwright fixtures used

66%

66%

data-testid selectors

100%

0%

Route interception correct pattern

100%

100%

Without context: $0.4787 · 1m 53s · 24 turns · 72 in / 5,565 out tokens

With context: $0.8234 · 3m 4s · 27 turns · 26 in / 8,195 out tokens

Evaluated
Agent
Claude Code

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.