playwright-test

playwright-test is a skill for Claude Code from open-metadata/OpenMetadata. It costs 43 tokens per session (1,374 once invoked), scanned A, original, Apache-2.0.

A generator for browser-based Playwright end-to-end tests in OpenMetadata. These tests check complete user scenarios through the interface, including permissions and the full lifecycle of supported data entities.

In plain words
What is it for?
Use it to create tests for features, pages, and workflows involving tables, dashboards, pipelines, topics, databases, users, teams, glossaries, or other entities. It can cover roles such as administrators, data consumers, data stewards, and owners.
Why use it?
It helps create tests that wait for real application state, verify API results, and cover different user roles instead of relying on fragile timing assumptions.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the openmetadata-skills plugin — 23 skills, 5 commands, 6 agents, 1 hook shipped together

Good fit Use it to create tests for features, pages, and workflows involving tables, dashboards, pipelines, topics, databases, users, teams, glossaries, or other entities. It can cover roles such as administrators, data consumers, data stewards, and owners.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/open-metadata/openmetadata/playwright
About the project

OpenMetadata is an open platform that organizes information about data, including its meaning, ownership, quality, history, and relationships. It provides governed context for data users, AI assistants, and agents that need to discover and understand trustworthy data.

open-metadata/OpenMetadata · 15,500 stars · on GitHub · open-metadata.org

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 open-metadata/OpenMetadata --skill playwright
Clone the repo
git clone --depth 1 https://github.com/open-metadata/OpenMetadata

Made for: Claude Code.

Or install openmetadata-skills, the plugin that ships this one along with the rest of its 23 skills, 5 commands, 6 agents, 1 hook.

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 playwright-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/open-metadata/openmetadata/playwright/github.svg)](https://agentmods.dev/skills/open-metadata/openmetadata/playwright)
Your own site
<a href="https://agentmods.dev/skills/open-metadata/openmetadata/playwright"><img src="https://agentmods.dev/badge/skills/open-metadata/openmetadata/playwright/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for playwright-test

Your own site · 80×15
<a href="https://agentmods.dev/skills/open-metadata/openmetadata/playwright"><img src="https://agentmods.dev/badge/skills/open-metadata/openmetadata/playwright.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,374 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00043 $0.01374
Opus 5.5 $0.00017 $0.00550
Sonnet 5.5 $0.00009 $0.00275
Haiku 4.5 $0.00004 $0.00137

Measured 9d ago against content hash 282bc6322b59, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

playwright-test 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 9d 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/playwright/SKILL.md · 172 lines

How it starts

The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Playwright Test Generator - OpenMetadata

Generate production-ready, zero-flakiness Playwright tests following OpenMetadata conventions.

Usage

/playwright-test
Feature: <feature name>
Category: <Features|Pages|Flow|VersionPages>
Entity: <Table|Dashboard|Pipeline|Topic|Database|User|Team|Glossary|Other>
Domain: <Governance|Discovery|Platform|Observability|Integration>
Scenarios:
  - <scenario 1 description>
  - <scenario 2 description>
  - <scenario 3 description>
Roles: <admin|dataConsumer|dataSteward|owner> (optional, defaults to admin)

Quick Example

/playwright-test
Feature: Data Quality Rules
Category: Features
Entity: Table
Domain: Observability
Scenarios:
  - Admin can create and configure data quality rules
  - Data consumer can view test results but not edit rules
  - Test results are persisted after page reload
Roles: admin, dataConsumer

Instructions

Step 1: Read the Handbook FIRST

CRITICAL: Before generating any tests, read and apply ALL patterns from:

openmetadata-ui/src/main/resources/ui/playwright/PLAYWRIGHT_DEVELOPER_HANDBOOK.md

The handbook contains:

  • Testing philosophy (user-centric, behavior-focused)
  • Anti-flakiness patterns (the :visible selector chain pattern, controls under the toast stack, etc.)
  • Test timeout strategies (test.slow() vs test.setTimeout())
  • Common test patterns (form submission, dropdowns, multi-role testing)
  • Locator priority guidelines
  • Support classes reference
  • Domain tags
  • Validation checklist

Apply ALL handbook principles before proceeding.


Step 2: Generate Test Using Handbook Template

Use the Test File Structure Template from the handbook. It includes:

  • Proper imports (performAdminLogin, entity classes, utilities)
  • test.describe with domain tags
  • beforeAll/afterAll for entity lifecycle via API
  • test.slow() for timeout handling
  • test.step() for clear organization
  • API response validation pattern

Step 3: Apply Common Test Patterns from Handbook

Read the full file on GitHub · 172 lines

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. 9d ago Changed 282bc6322b59
  2. 1mo ago First seen · 172 lines · 43 tokens per session scan A 604c4578a190

Subscribe to this mod's changes

playwright-test is a skill published in the GitHub repository open-metadata/OpenMetadata (15,500 stars, last pushed today), licensed Apache-2.0. It adds 43 tokens to every session and 1,374 once invoked, about $0.0002 per session on Opus 5.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

browse

Drive a real browser through Aside: open a page, read it, click through a flow, take screenshots, check console errors. (gstack).

garrytan/gstack · 32 tokens

cua-driver

Use Cua Driver for desktop or browser tasks that are awkward or unavailable through Bash/APIs, or when the user explicitly wants GUI interaction: app testing, visual bug reproduction, form filling, calendar entry, screenshots, and demo recording. Also covers Cua setup; not OpenAI Codex Computer Use or web research.

davidondrej/skills · 68 tokens

create-verification-skill

Create a repo-local verification skill and exhaustive feature map for driving a real app through its UI, CLI, or API. Use for "create a verification skill", "make a verify skill for this repo", or "document how agents can verify this app".

get-bb/bb · 57 tokens

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

anthropics/skills · 35 tokens

browser-qa

A browser-based quality check for deployed web pages and user flows. It uses browser automation to test rendering, navigation, forms, interactions, responsive behaviour, and accessibility-related issues.

hashgraph-online/awesome-codex-plugins · 58 tokens

smoke-test

Run smoke tests against a deployed or local app based on your git diff. Each test uses Skyvern browser tools (navigate, act, validate, screenshot) with Chrome DevTools MCP as fallback. Posts screenshot evidence as PR comments.

Skyvern-AI/skyvern · 50 tokens