qa-playwright-add-new-flow

Create test directories, inputs, and spec files for Playwright QA projects.

12|6|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/whitebeardit/.cursor --skill qa-playwright-add-new-flow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qa-playwright-add-new-flow
Source: https://github.com/whitebeardit/.cursor/tree/main/skills/qa/skill-qa-playwright-add-new-flow
Command: npx skills add https://github.com/whitebeardit/.cursor --skill qa-playwright-add-new-flow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of adding new, structured test flows to a Playwright QA project, ensuring consistency and reducing setup time.

Core Features & Use Cases

  • Automated Folder Creation: Generates necessary directories for tests and test data.
  • Input Management: Facilitates the definition of static inputs or dynamic data generation.
  • Spec File Structure: Guides the writing of test specifications using Arrange-Act-Assert patterns.
  • Use Case: When a new feature is developed, use this Skill to quickly set up its corresponding API and UI test suites, including data files and initial spec structure.

Quick Start

Use the qa-playwright-add-new-flow skill to add a new test flow named 'user-profile'.

Frequently Asked Questions about qa-playwright-add-new-flow

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

FAQPage Schema
How do I add a new test flow to an existing Playwright project?

To add a new Playwright test flow, you need to create dedicated directories for tests and test-data, define input management, and write spec files using fixtures. This ensures your new feature testing remains structured and consistent.

What is the best way to structure Playwright spec files for e2e testing?

The best way to structure Playwright spec files is by using the Arrange-Act-Assert pattern. This approach organizes test setup, execution, and verification into clear sections, improving readability and maintenance for your automation suites.

How do you manage test data when writing new Playwright specs?

Test data in Playwright specs is managed by defining static inputs or generating dynamic data within dedicated test-data directories. This separation keeps your test flows clean and allows easy updates when application inputs change.

Do I need specific naming conventions for Playwright test suites?

Yes, adding new Playwright test suites requires adherence to specific naming conventions and base URL configurations. Following these standards ensures that your automated testing framework correctly discovers and executes the generated spec files.

Can I set up both API and UI test suites simultaneously in Playwright?

Yes, you can set up both API and UI test suites simultaneously. When adding a new flow, the process generates the initial spec structure, data files, and directory scaffolding needed to support comprehensive feature testing across both interfaces.

When should I create a new test flow directory in Playwright?

You should create a new test flow directory in Playwright whenever a new feature is developed and requires testing. This isolates the new test specs and data files from existing suites, maintaining project organization.