- Home
- Skills
- Andrelandgraf
- Fullstackrecipes
- Playwright Tests
playwright-tests_skill
- TypeScript
8
GitHub Stars
1
Bundled Files
3 weeks ago
Catalog Refreshed
2 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstart where the catalogue uses aiagentskills.
npx veilstart add skill andrelandgraf/fullstackrecipes --skill playwright-tests- SKILL.md550 B
Overview
This skill provides end-to-end browser testing with Playwright for full-stack web AI apps, using production-ready patterns and step-by-step recipe guidance. It bundles practical test patterns for user interactions, form validation, navigation, and visual feedback across real browsers. The goal is fast, reliable browser automation that integrates with TypeScript projects and common UI component libraries.
How this skill works
The skill installs and configures Playwright test runners and recommended TypeScript settings, then applies curated test recipes that exercise UI flows and edge cases. It includes example test suites for clicks, form entry, routing, authentication flows, and visual snapshots. A centralized recipe resource provides structured guidance and commands to fetch the configuration and sample tests.
When to use it
- Validate critical user flows across Chromium, WebKit, and Firefox before releases
- Automate regression tests for form validations and error states
- Verify navigation, routing, and client-side state transitions in complex SPAs
- Capture visual regressions with snapshot testing for UI components
- Integrate reliable e2e checks into CI pipelines for production readiness
Best practices
- Write focused tests that assert one user journey or behavior per test
- Use fixtures and page objects to reuse setup and reduce flakiness
- Run headless tests in CI and optionally run headed locally for debugging
- Keep test selectors stable by using data-test attributes instead of CSS classes
- Limit external network dependencies with request interception or test doubles
Example use cases
- End-to-end signup flow: fill form, validate errors, confirm email step, and land on dashboard
- Shopping cart checkout: add items, update quantities, complete payment flow, and verify order summary
- Auth guard checks: assert protected routes redirect to login and role-based UI changes
- Visual regression: capture snapshots of critical pages and fail CI on layout drift
- Accessibility smoke tests: ensure basic ARIA roles, labels, and keyboard navigation
FAQ
Fetch the recipe from the MCP server URI recipe://fullstackrecipes.com/playwright-tests or, if the MCP server is unavailable, use curl to retrieve it: curl -H "Accept: text/plain" https://fullstackrecipes.com/api/recipes/playwright-tests
Which browsers are supported?
Playwright runs Chromium, Firefox, and WebKit. Use the bundled configuration to test across all three in CI or a subset locally.