rstudio-migrate-tests-selenium-to-playwright

Migrate Selenium-based Electron tests to Playwright TypeScript tests.

5.0k|1.2k|Updated Dec 7, 2010
One-click install
npx skills add https://github.com/rstudio/rstudio --skill rstudio-migrate-tests-selenium-to-playwright
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rstudio-migrate-tests-selenium-to-playwright
Source: https://github.com/rstudio/rstudio/tree/main/.claude/skills/rstudio-migrate-tests-selenium-to-playwright
Command: npx skills add https://github.com/rstudio/rstudio --skill rstudio-migrate-tests-selenium-to-playwright

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Migrates Selenium-based electron tests to Playwright TypeScript, enabling modern, maintainable end-to-end testing for RStudio's Electron and server test suites.

Core Features & Use Cases

  • Step-by-step migration guidance from Selenium/Selene to Playwright, including mapping of electron-tests to Playwright page objects and test structures.
  • Pre-flight checks and references, such as consulting BRAT for ground truth and verifying MIGRATION_FROM_SELENIUM_PROGRESS.md before converting.
  • Encourages reuse of existing Playwright patterns, fixtures, and cross-platform approaches for Desktop and Server tests.

Quick Start

Load the rstudio-create-playwright-tests skill and begin converting electron-tests to Playwright tests under e2e/rstudio/tests.

Frequently Asked Questions about rstudio-migrate-tests-selenium-to-playwright

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

FAQPage Schema
How do I migrate Selenium tests to Playwright TypeScript?

Migrating Selenium tests to Playwright TypeScript involves mapping existing electron-tests to Playwright page objects and test structures, ensuring standardization across desktop and server end-to-end testing environments. The process requires loading the rstudio-create-playwright-tests skill.

What should I check before converting Selenium Electron tests to Playwright?

Before converting Selenium Electron tests, you must consult BRAT for ground truth and verify MIGRATION_FROM_SELENIUM_PROGRESS.md to ensure compliance with all required pre-migration steps and related artifacts.

Does migrating Selenium tests to Playwright work for both desktop and server environments?

Yes, migrating Selenium tests to Playwright supports standardizing end-to-end testing across both Desktop and Server environments. It encourages reusing existing Playwright patterns, fixtures, and cross-platform approaches for these test suites.

Can I use a data-driven approach when migrating Selenium tests to Playwright?

Yes, the migration supports a data-driven approach for similar tests. It aligns converted Selenium tests with existing BRAT references and established Playwright patterns to maintain consistency across the test suite.

What is the best way to standardize end-to-end testing after migrating Selenium tests?

The best way to standardize end-to-end testing is by converting Selenium tests under e2e/rstudio/tests using Playwright TypeScript. This migration reuses existing Playwright patterns and fixtures, creating maintainable tests for Electron and server suites.

Why do I need to load another skill when migrating Selenium tests to Playwright?

You need to load the rstudio-create-playwright-tests skill because the migration process actively depends on it to accurately convert electron-tests into Playwright TypeScript tests and integrate with related migration artifacts.