qa-playwright-add-fixture

Official

Extend Playwright fixtures

Authorwhitebeardit
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the process of adding or extending Playwright fixtures, ensuring consistent test data loading and authenticated API contexts for your end-to-end tests.

Core Features & Use Cases

  • Fixture Creation: Easily declare new fixtures using base.extend({...}) in fixtures/index.ts.
  • Test Data Loading: Load test data from JSON files based on spec paths.
  • Authenticated Requests: Set up authenticated API request contexts for secure testing.
  • Use Case: When a new feature requires specific user credentials or mock data for testing, use this Skill to add a dedicated fixture that provides this data to your tests.

Quick Start

Add a new fixture named 'adminUser' to the Playwright test suite.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: qa-playwright-add-fixture
Download link: https://github.com/whitebeardit/.cursor/archive/main.zip#qa-playwright-add-fixture

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.