Migrate to Playwright
Skill Verifiziert AktivMigrate from Cypress or Selenium to Playwright. Use when user mentions "cypress", "selenium", "migrate tests", "convert tests", "switch to playwright", "move from cypress", or "replace selenium".
Migrate existing test suites from Cypress or Selenium to Playwright, providing a structured and guided conversion process.
Funktionen
- File-by-file test conversion
- Cypress to Playwright mapping
- Selenium to Playwright mapping
- Locator and command upgrade guidance
- Playwright setup assistance
- Verification and cleanup steps
Anwendungsfälle
- Use when migrating a project from Cypress to Playwright.
- Use when migrating a project from Selenium to Playwright.
- Use when converting specific test files between frameworks.
- Use when needing detailed guidance on command and assertion translation.
Nicht-Ziele
- Migrating tests to frameworks other than Playwright.
- Automating the entire migration process without user intervention.
- Writing new Playwright tests from scratch.
Workflow
- Detect Source Framework (Cypress, Selenium, or auto-detect)
- Assess Migration Scope (count files, categorize effort)
- Set Up Playwright (if not present)
- Convert Files (using detailed mappings)
- Upgrade Locators
- Convert Custom Commands / Utilities
- Verify Each Converted File
- Clean Up (dependencies, configs, CI)
Voraussetzungen
- Playwright needs to be installed or set up.
- User confirmation for file deletion.
- Access to the project's test files and configuration.
Practical Utility
- info:Usage examplesWhile the SKILL.md describes the process and includes command examples for verification, it lacks end-to-end examples demonstrating the input, invocation, and output of the migration itself.
Installation
Zuerst Marketplace hinzufügen
/plugin marketplace add alirezarezvani/claude-skills/plugin install playwright-pro@claude-code-skillsQualitätspunktzahl
VerifiziertVertrauenssignale
Ähnliche Erweiterungen
Vue Testing Best Practices
100Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.
Develop Web Game
100Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with render_game_to_text.
Playwright Best Practices
100Verwenden Sie dies beim Schreiben von Playwright-Tests, Beheben von flackernden Tests, Debuggen von Fehlern, Implementieren des Page Object Model, Konfigurieren von CI/CD, Optimieren der Leistung, Mocken von APIs, Verwalten von Authentifizierung oder OAuth, Testen der Barrierefreiheit (axe-core), Hoch- und Herunterladen von Dateien, Mocken von Datums-/Uhrzeitangaben, WebSockets, Geolokalisierung, Berechtigungen, Multi-Tab-/Popup-Flows, mobilen/responsiven Layouts, Touch-Gesten, GraphQL, Fehlerbehandlung, Offline-Modus, Multi-User-Kollaboration, Drittanbieterdiensten (Zahlungen, E-Mail-Verifizierung), Überwachung von Konsolenfehlern, globalem Setup/Teardown, Testannotationen (skip, fixme, slow), Test-Tags (@smoke, @fast, @critical, Filterung mit --grep), Projektabhängigkeiten, Sicherheitstests (XSS, CSRF, Auth), Leistungsbudgets (Web Vitals, Lighthouse), iFrames, Komponententests, Canvas/WebGL, Service Workers/PWA, Testabdeckung, i18n/Lokalisierung, Electron-Apps oder Tests für Browsererweiterungen. Deckt E2E-, Komponenten-, API-, visuelle, Barrierefreiheits-, Sicherheits-, Electron- und Erweiterungstests ab.
Agent Migration Plan
98Agent skill for migration-plan - invoke with $agent-migration-plan
E2E Testing Patterns
98Master 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.
Playwright Migration Guides
94Schritt-für-Schritt-Migrationsanleitungen für den Umstieg auf Playwright von Cypress oder Selenium/WebDriver – Befehlszuordnungen, Architekturänderungen und Strategien für die schrittweise Einführung.