WE

webapp-testing

A toolkit for performing deep web audits and writing robust E2E tests using Playwright.

Install

mkdir -p .claude/skills/webapp-testing-haongo232 && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10793" && unzip -o skill.zip -d .claude/skills/webapp-testing-haongo232 && rm skill.zip

Installs to .claude/skills/webapp-testing-haongo232

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Web application testing principles. E2E, Playwright, deep audit strategies.
75 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Run Playwright browser tests
  • Perform accessibility audit
  • Verify critical user flows

How it works

It executes automated browser tests and audits using Playwright.

Inputs & outputs

You give it
URL and test parameters
You get back
Test results and artifacts

When to use webapp-testing

  • Run Playwright browser tests
  • Perform accessibility audit
  • Verify critical user flows

About this skill

Web App Testing

Discover and test everything. Leave no route untested.

🔧 Runtime Scripts

Execute these for automated browser testing:

ScriptPurposeUsage
scripts/playwright_runner.pyBasic browser testpython scripts/playwright_runner.py https://example.com
With screenshotpython scripts/playwright_runner.py <url> --screenshot
Accessibility checkpython scripts/playwright_runner.py <url> --a11y

Requires: pip install playwright && playwright install chromium


1. Deep Audit Approach

Discovery First

TargetHow to Find
RoutesScan app/, pages/, router files
API endpointsGrep for HTTP methods
ComponentsFind component directories
FeaturesRead documentation

Systematic Testing

  1. Map - List all routes/APIs
  2. Scan - Verify they respond
  3. Test - Cover critical paths

2. Testing Pyramid for Web

        /\          E2E (Few)
       /  \         Critical user flows
      /----\
     /      \       Integration (Some)
    /--------\      API, data flow
   /          \
  /------------\    Component (Many)
                    Individual UI pieces

3. E2E Test Principles

What to Test

PriorityTests
1Happy path user flows
2Authentication flows
3Critical business actions
4Error handling

E2E Best Practices

PracticeWhy
Use data-testidStable selectors
Wait for elementsAvoid flaky tests
Clean stateIndependent tests
Avoid implementation detailsTest user behavior

4. Playwright Principles

Core Concepts

ConceptUse
Page Object ModelEncapsulate page logic
FixturesReusable test setup
AssertionsBuilt-in auto-wait
Trace ViewerDebug failures

Configuration

SettingRecommendation
Retries2 on CI
Traceon-first-retry
Screenshotson-failure
Videoretain-on-failure

5. Visual Testing

When to Use

ScenarioValue
Design systemHigh
Marketing pagesHigh
Component libraryMedium
Dynamic contentLower

Strategy

  • Baseline screenshots
  • Compare on changes
  • Review visual diffs
  • Update intentional changes

6. API Testing Principles

Coverage Areas

AreaTests
Status codes200, 400, 404, 500
Response shapeMatches schema
Error messagesUser-friendly
Edge casesEmpty, large, special chars

7. Test Organization

File Structure

tests/
├── e2e/           # Full user flows
├── integration/   # API, data
├── component/     # UI units
└── fixtures/      # Shared data

Naming Convention

PatternExample
Feature-basedlogin.spec.ts
Descriptiveuser-can-checkout.spec.ts

8. CI Integration

Pipeline Steps

  1. Install dependencies
  2. Install browsers
  3. Run tests
  4. Upload artifacts (traces, screenshots)

Parallelization

StrategyUse
Per filePlaywright default
ShardingLarge suites
WorkersMultiple browsers

9. Anti-Patterns

❌ Don't✅ Do
Test implementationTest behavior
Hardcode waitsUse auto-wait
Skip cleanupIsolate tests
Ignore flaky testsFix root cause

Remember: E2E tests are expensive. Use them for critical paths only.

When not to use it

  • Non-critical path testing
  • Implementation detail testing

Prerequisites

playwrightchromium

Limitations

  • E2E tests are expensive

How it compares

It focuses on user-centric E2E testing rather than implementation-level unit tests.

Compared to similar skills

webapp-testing side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
webapp-testing (this skill)02moReviewIntermediate
ov-update-pytorch-version01moReviewAdvanced
transmit-test02moReviewAdvanced
python-code-implementation-workflow02moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

ov-update-pytorch-version

openvinotoolkit

Upgrade the PyTorch version used by OpenVINO tests (torch / torchvision / torchaudio) and resolve fallout — missing operator translators, new functionalized `*_copy` aten ops, decomposition changes, FX-only tests failing in TorchScript mode, and accuracy regressions caused by stricter typing. Use wh

00

transmit-test

KI3P

Run the PTT signal integrity test on the radio transmitter hardware. Use when the user asks to test the transmitter, run a PTT test, check I/Q outputs, or verify transmit signal quality. Requires an Analog Discovery 2 connected to the radio.

00

python-code-implementation-workflow

NatLabRockies

Implement and refactor Python code with TDD, API signature discipline, and maintainable design. Use for feature development, bug fixes, test-first workflows, and quality-focused refactoring.

00

run-coverage

SQLtattoo

Run the Budget Buddy test suite with a coverage report. Use when asked to run tests, check coverage, see the coverage report, or verify the coverage gate before or after making changes.

00

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

web-quality-audit

davila7

Comprehensive web quality audit covering performance, accessibility, SEO, and best practices. Use when asked to "audit my site", "review web quality", "run lighthouse audit", "check page quality", or "optimize my website".

732

Search skills

Search the agent skills registry