rstudio-run-playwright-tests

Run Playwright end-to-end tests for RStudio in Desktop and Server modes.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Run Playwright-based end-to-end tests for RStudio in Desktop and Server modes to verify functionality across deployments.

Core Features & Use Cases

  • Supports running all tests or targeted test files from the Playwright project directory e2e/rstudio.
  • Handles desktop and server authentication flows using RSTUDIO_EDITION, RSTUDIO_SERVER_URL, RSTUDIO_USER, and RSTUDIO_PASSWORD.
  • Provides guidance for environment setup, test selection, and result interpretation in CI or local development.

Quick Start

Run the Playwright test suite from the e2e/rstudio directory with npm install and npx playwright test, then review results.

Frequently Asked Questions about rstudio-run-playwright-tests

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

FAQPage Schema
How do I run Playwright end-to-end tests for RStudio Desktop and Server?

Run Playwright end-to-end tests for RStudio by navigating to the e2e/rstudio directory and executing npm install followed by npx playwright test to validate functionality across Desktop and Server deployments.

What environment variables are needed for RStudio Server authentication in Playwright tests?

RStudio Server authentication in Playwright tests requires configuring RSTUDIO_EDITION, RSTUDIO_SERVER_URL, RSTUDIO_USER, and RSTUDIO_PASSWORD environment variables to handle desktop and server authentication flows.

Can I run specific Playwright test files instead of the entire RStudio test suite?

Yes, you can run targeted Playwright test files instead of the entire RStudio suite by utilizing test-selection features to target specific test files within the e2e/rstudio directory for deterministic, user-approved runs.

What configuration options are available for RStudio Playwright test runs?

Configuration options for RStudio Playwright test runs include specifying edition, server URL, user credentials, and timeouts to ensure deterministic, user-approved test execution across local and remote testing scenarios.

Does RStudio Playwright testing support both local and remote scenarios?

Yes, RStudio Playwright testing applies to both local and remote testing scenarios across Desktop and Server modes, verifying functionality across deployments using environment setup, test selection, and result interpretation.

What's the required project layout for running RStudio Playwright tests?

The required project layout for running RStudio Playwright tests specifies the e2e/rstudio directory, commands, environment variables, and test-selection features to ensure deterministic, user-approved test runs across Desktop and Server modes.