Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Migrate to Playwright

Skill Verifiziert Aktiv
Teil von:Pw

Migrate 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".

Zweck

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

  1. Detect Source Framework (Cypress, Selenium, or auto-detect)
  2. Assess Migration Scope (count files, categorize effort)
  3. Set Up Playwright (if not present)
  4. Convert Files (using detailed mappings)
  5. Upgrade Locators
  6. Convert Custom Commands / Utilities
  7. Verify Each Converted File
  8. 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-skills

Qualitätspunktzahl

Verifiziert
97 /100
Analysiert 1 day ago

Vertrauenssignale

Letzter Commit1 day ago
Sterne14.6k
LizenzMIT
Status
Quellcode ansehen

Ähnliche Erweiterungen

Vue Testing Best Practices

100

Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.

Skill
hyf0

Develop Web Game

100

Use 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.

Skill
davila7

Playwright Best Practices

100

Verwenden 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), Projekt­abhä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 Browser­erweiterungen. Deckt E2E-, Komponenten-, API-, visuelle, Barrierefreiheits-, Sicherheits-, Electron- und Erweiterungstests ab.

Skill
currents-dev

Agent Migration Plan

98

Agent skill for migration-plan - invoke with $agent-migration-plan

Skill
ruvnet

E2E Testing Patterns

98

Master 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.

Skill
wshobson

Playwright Migration Guides

94

Schritt-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.

Skill
testdino-hq