qa-playwright-add-test-data

qa-playwright-add-test-data is a skill for Claude Code, Codex from whitebeardit/.cursor. It costs 60 tokens per session (527 once invoked), scanned A, original, MIT.

A test-data setup skill for QA tests written with Playwright, a tool for testing web applications. It adds fixed inputs and, when needed, builders that generate changing values such as unique email addresses.

In plain words
What is it for?
Use it to add or extend data for an API or browser test flow, including scenario inputs and generated values.
Why use it?
It keeps test inputs in a consistent place and makes repeated test runs less likely to clash over reused data. It also separates test data from the test steps.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to add or extend data for an API or browser test flow, including scenario inputs and generated values.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/whitebeardit/.cursor/skill-qa-playwright-add-test-data
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add whitebeardit/.cursor --skill skill-qa-playwright-add-test-data
Clone the repo
git clone --depth 1 https://github.com/whitebeardit/.cursor

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for qa-playwright-add-test-data

README.md
[![agentmods](https://agentmods.dev/badge/skills/whitebeardit/.cursor/skill-qa-playwright-add-test-data.svg)](https://agentmods.dev/skills/whitebeardit/.cursor/skill-qa-playwright-add-test-data)
Your own site
<a href="https://agentmods.dev/skills/whitebeardit/.cursor/skill-qa-playwright-add-test-data"><img src="https://agentmods.dev/badge/skills/whitebeardit/.cursor/skill-qa-playwright-add-test-data.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 527 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.00527
Opus 5 $0.00030 $0.00264
Sonnet 5 $0.00012 $0.00105
Haiku 4.5 $0.00006 $0.00053

Measured 8d ago against content hash e4335787b0ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

qa-playwright-add-test-data scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/qa/skill-qa-playwright-add-test-data/SKILL.md · 40 lines

What it actually says

Add test data (inputs and builders)

When adding or extending test data for a flow, follow this structure.

Where

  • API flow: test-data/api/<fluxo>/
  • UI flow: test-data/ui/<fluxo>/

Static inputs (inputs.json)

  • Create or edit inputs.json (or inputs.ts) with entries per scenario (e.g. getPost, createPost; or formUrl, sobreVoce).
  • In the spec, import: import inputs from '../../../test-data/<api|ui>/<fluxo>/inputs.json'; and use (e.g. inputs.getPost, inputs.sobreVoce).

Example: test-data/api/hello/inputs.json, test-data/ui/whitebeard/inputs.json.

Generated data (builder.ts, optional)

  • When you need to vary data (e.g. unique email per run), add builder.ts in the same flow folder.
  • Export a function that builds a default object and accepts overrides; use lib/data-factory.ts (randomEmail, randomString, randomNumber) inside the builder.
  • In the spec, import the builder and call it (e.g. createFormInput({ email: randomEmail() })).

Example: test-data/ui/whitebeard/builder.ts.

Checklist

  • Folder exists under test-data/api/<fluxo>/ or test-data/ui/<fluxo>/
  • inputs.json (or inputs.ts) defines static cases; builder.ts only if varying data is needed
  • Spec imports from ../../../test-data/... (three levels up from tests/<api|ui>/<fluxo>/)

Full reference

docs/04-test-data.md — inputs and builders
docs/05-lib.md — lib/data-factory (randomString, randomEmail, randomNumber)

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 40 lines · 0 tokens per session scan A e4335787b0ad

Subscribe to this mod's changes

qa-playwright-add-test-data is a skill published in the GitHub repository whitebeardit/.cursor (12 stars, last pushed 6mo ago), licensed MIT. It adds 60 tokens to every session and 527 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

test-warp-ui

Guides testing Warp UI features and changes using the computer use tool. Use this skill only when computer-use testing was requested (explicit request or accepted offer) and the computeruse tool is available to the agent. Covers launching Warp and verifying UI behavior.

warpdotdev/warp · 55 tokens

test-electron-app

Drive the real running PostHog Electron app (live tRPC, workspace-server, real data) over CDP with agent-browser. Connect to the running app on port 9222, test desktop changes against a local Django stack, snapshot the accessibility tree, inspect network requests, and screenshot only when explicitly asked. Use when…

PostHog/posthog-foss · 112 tokens

pyats-dynamic-test

Generate and execute deterministic pyATS aetest validation scripts - interface state, OSPF neighbors, BGP paths, ping matrices, and custom compliance tests. Use when writing a network test, validating post-change state, running pass/fail checks, or building automated regression tests.

automateyournetwork/netclaw · 61 tokens

test-loop

Plan, generate, and heal an executable E2E test suite from approved acceptance criteria (web and mobile).

HoangNguyen0403/agent-skills-standard · 25 tokens

playwright-cli

Automates browser interactions for testing and validating your own web applications using playwright-cli. Use when you need terminal-first browser control for navigation, form filling, screenshots, tracing, bound browser sessions, debugging, or generating Playwright test code. Only use against applications you own or…

testdino-hq/playwright-skill · 64 tokens