test-states

Automate UI state testing for loading, empty, overlay, and animation states with Playwright CLI.

1|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/az9713/my-agent-skills --skill test-states-az9713
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-states
Source: https://github.com/az9713/my-agent-skills/tree/main/.claude/skills/playwright-ui-testing/test-states
Command: npx skills add https://github.com/az9713/my-agent-skills --skill test-states-az9713

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Web applications often fail UI state tests, leading to flaky releases. This Skill provides automated validation of loading, empty, overlay, and animation states to ensure reliable user experiences.

Core Features & Use Cases

  • Automated end-to-end UI state testing for modals, toasts, backdrops, and transitions.
  • Parallelized test execution across multiple agents to speed up feedback.
  • Clear failure diagnostics including focus traps, backdrop interactions, and animation timing.

Quick Start

Launch the four agent tests against your app URL using the Playwright CLI commands described above.

Frequently Asked Questions about test-states

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate UI state testing for modals and overlays with Playwright?

Automate UI state testing by validating loading, empty, overlay, and animation states across modals, toasts, dropdowns, and transitions using Playwright CLI to ensure accessibility and reliability.

Does Playwright support testing SPA transitions and loading delays?

Yes, Playwright supports testing SPA transitions and loading delays. The tests validate scenario-based states including loading delays, error pages, and overlay interactions within single-page applications.

What's the best way to test focus traps and backdrop interactions in web apps?

Test focus traps and backdrop interactions by running automated end-to-end UI state tests that provide clear failure diagnostics for modal overlays, transitions, and animation timing issues.

Why do my web application UI state tests fail during flaky releases?

UI state tests fail during flaky releases due to unvalidated loading, empty, overlay, and animation states. Automated validation of these states ensures reliable user experiences and prevents flaky releases.

Can I run parallelized test execution across multiple agents for UI testing?

Yes, you can run parallelized test execution across multiple agents to speed up feedback. Launch the agent tests against your app URL using the Playwright CLI commands.

Do I need a running web app environment to test UI states?

Yes, you need a running web app environment and Playwright CLI installed. Launch the four agent tests against your app URL to validate loading, empty, overlay, and animation states.