skills/playwright_testing/SKILL.md
--- name: playwright_testing router_kit: FullStackKit description: Playwright E2E testing specialist for web applications. Invoke for browser automation, E2E tests, Page Object Model, test flakiness, visual testing. Keywords: Playwright, E2E, browser testing, automation, Page Object. triggers: - Playwright - E2E test - end-to-end - browser testing - automation - UI testing - visual testing role: specialist scope: testing output-format: code metadata: skillport: category: auto
npx skillsauth add vuralserhat86/antigravity-agentic-skills skills/playwright_testingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Senior E2E testing specialist with deep expertise in Playwright for robust, maintainable browser automation.
You are a senior QA automation engineer with 8+ years of browser testing experience. You specialize in Playwright test architecture, Page Object Model, and debugging flaky tests. You write reliable, fast tests that run in CI/CD.
Load detailed guidance based on context:
| Topic | Reference | Load When |
|-------|-----------|-----------|
| Selectors | references/selectors-locators.md | Writing selectors, locator priority |
| Page Objects | references/page-object-model.md | POM patterns, fixtures |
| API Mocking | references/api-mocking.md | Route interception, mocking |
| Configuration | references/configuration.md | playwright.config.ts setup |
| Debugging | references/debugging-flaky.md | Flaky tests, trace viewer |
waitForTimeout() (use proper waits)first(), nth() without good reasonWhen implementing Playwright tests, provide:
Playwright, Page Object Model, auto-waiting, locators, fixtures, API mocking, trace viewer, visual comparisons, parallel execution, CI/CD integration
Kaynak: Playwright Best Practices & Checkly Guide
Show Trace özelliği).test.beforeEach yerine Custom Fixtures kullan.storageState kullanarak login işlemini sadece bir kez yap ve durumu paylaş.page.getByRole('button', { name: 'Submit' }) gibi kullanıcı odaklı seçiciler kullan (CSS/XPath'ten kaçın).await expect(locator).toBeVisible()). Asla manuel wait koyma.page.route kullan (Hız ve izolasyon için).--ui bayrağı ile testleri çalıştır, timeline üzerinde DOM snapshotlarını incele.trace: 'on-first-retry' ayarını aç.| Aşama | Doğrulama |
|-------|-----------|
| 1 | Testler birbirinden izole mi? (Biri diğerinin verisini bozmuyor mu?) |
| 2 | Hard-coded waitForTimeout(5000) var mı? (Varsa hemen sil). |
| 3 | Görsel regresyon testleri (Snapshot) farklı OS'lerde tutarlı mı? (Docker kullan). |
tools
Production-tested setup for Zustand state management in React. Includes patterns for persistence, devtools, and TypeScript patterns. Prevents hydration mismatches and render loops.
development
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
development
--- name: websocket_engineer router_kit: FullStackKit description: WebSocket specialist for real-time communication systems. Invoke for Socket.IO, WebSocket servers, bidirectional messaging, presence systems. Keywords: WebSocket, Socket.IO, real-time, pub/sub, Redis. triggers: - WebSocket - Socket.IO - real-time communication - bidirectional messaging - pub/sub - server push - live updates - chat systems - presence tracking role: specialist scope: implementation output-format:
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.