playwright-test

Automate end-to-end browser testing workflows with Playwright Test.

2|1|Updated Jul 19, 2024
One-click install
npx skills add https://github.com/TeamDay-AI/agents --skill playwright-test-teamday-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-test
Source: https://github.com/TeamDay-AI/agents/tree/main/skills/teamday/playwright-test
Command: npx skills add https://github.com/TeamDay-AI/agents --skill playwright-test-teamday-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines end-to-end browser testing by providing a ready-to-use Playwright Test setup, reducing boilerplate and setup time for web apps.

Core Features & Use Cases

  • Pre-installed Playwright and Chromium for immediate test execution in demo environments.
  • Clear configuration and test-writing patterns, including page objects and API tests.
  • Use cases cover UI regression, smoke tests, and cross-page navigation verification.

Quick Start

Create a playwright.config.ts in your project root, add tests under tests/, and run npx playwright test to execute the suite.

Frequently Asked Questions about playwright-test

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

FAQPage Schema
How do I automate end-to-end browser tests with Playwright?

Automate end-to-end browser tests by creating a playwright.config.ts in your project root, adding tests under the tests/ directory, and running npx playwright test to execute the suite across local and CI environments.

Do I need to preinstall Playwright and Chromium to run E2E tests?

Yes, you need preinstalled Playwright and Chromium to run E2E tests without additional setup. The environment provides a ready-to-use configuration to reduce boilerplate and setup time for web apps.

What's the best way to structure Playwright test configurations and page objects?

Structure Playwright test configurations by placing a playwright.config.ts in your project root, organizing tests under tests/, and applying clear test-writing patterns including page objects and API tests for maintainable UI regression suites.

Can I run cross-page navigation verification and smoke tests with Playwright?

Yes, you can run cross-page navigation verification and smoke tests with Playwright. The setup covers UI regression testing, smoke tests, and API tests across both local and CI environments.

Why does my Playwright test execution fail without proper TypeScript configuration?

Playwright test execution requires a valid playwright.config.ts in the project root and preinstalled Chromium to function. Without these prerequisites, the end-to-end browser testing workflows cannot execute properly.