open-metadata/openmetadata/playwright
Claude Code and agent skill by open-metadata/openmetadata
- community
Checking that the SKILL.md file is still in the repository.
Generate robust, zero-flakiness Playwright E2E tests following OpenMetadata patterns. Creates comprehensive test files with proper waits, API validation, multi-role permissions, and complete entity lifecycle management.
Install
npx vskill@latest install open-metadata/openmetadata/playwrightSKILL.md
The same SKILL.md was published earlier as open-metadata/openmetadata/playwright.
Playwright Test Generator - OpenMetadata
Generate production-ready, zero-flakiness Playwright tests following OpenMetadata conventions.
Usage
Quick Example
Instructions
Step 1: Read the Handbook FIRST
CRITICAL: Before generating any tests, read and apply ALL patterns from:
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
Reference the Common Test Patterns section for:
- Form submission with API validation
- Dropdown selection (with :visible chain pattern)
- Multi-role permission testing
- Data persistence verification
- Navigation patterns
- Search and filter patterns
Step 4: Run ESLint Check
Before returning the generated test, run the full Playwright lint gate — the same one CI runs:
Every playwright/* and om-playwright/* guardrail rule runs at error; repo-wide openmetadata-playwright/* rules set their own severity and may be warn. Fix any errors before finalizing — never add a new entry to eslint-suppressions.json to make this pass. See the handbook's ESLint Enforcement section for the full, generated rule reference.
Step 5: Validate Against Handbook Checklist
Before returning the generated test, verify ALL items from the handbook's Validation Checklist:
- ✅ Structure & Organization (test.step, domain tags, imports, beforeAll/afterAll)
- ✅ Anti-Flakiness (no waitForTimeout, no networkidle, no force: true, no positional selectors, no stored :visible locators,
clickIgnoringToastsfor bottom-aligned controls) - ✅ API & Network (waitForResponse before actions, status code validation)
- ✅ Waits & Assertions (waitForAllLoadersToDisappear, semantic locators, proper assertions)
- ✅ ESLint (
yarn lint:playwrightpasses with zero errors) - ✅ Coverage & Roles (multi-role tests, data persistence, error handling)
Key Reminders
All patterns, rules, and best practices are in the handbook.
Read and apply the handbook sections in order:
- Anti-Flakiness Patterns (CRITICAL - #1 cause of flaky tests)
- Test File Structure Template (for proper test structure)
- Common Test Patterns (for specific scenarios)
- ESLint Enforcement (run
yarn lint:playwright— every rule iserror) - Validation Checklist (before returning generated test)
Final Notes
- Generate production-ready tests that pass 10/10 times
- Follow ALL patterns from the handbook exactly
- No comments for obvious code (e.g.,
// Create entitybeforeentity.create()) - Test independence - each test runs in any order
- Reference examples:
playwright/e2e/Pages/DataContractInheritance.spec.ts,playwright/e2e/Features/Table.spec.ts
Generate tests that are production-ready, maintainable, and zero-flakiness by following the handbook patterns exactly.
Writing Playwright Tests (merged from the former writing-playwright-tests skill)
Reference: openmetadata-ui/src/main/resources/ui/playwright/PLAYWRIGHT_DEVELOPER_HANDBOOK.md
ESLint Enforcement
All Playwright tests are linted with eslint-plugin-playwright plus this repo's local om-playwright rules. Run before submitting:
Every guardrail rule runs at error and none is merely advisory; the severity column is authoritative for anything else. The generated rule table (per-rule severity and description) lives in the handbook's ESLint Enforcement section; it's produced by yarn generate:playwright-rules from eslint.config.mjs, so it can't drift from what actually blocks CI. Pre-existing violations are tracked in eslint-suppressions.json — that ledger may shrink as violations are fixed, never grow.
Mandatory verification
Before reporting the work complete, run:
This must exit 0. Do not suppress a new violation to make it pass — suppressions are a record of pre-existing debt, and adding to them is a plan failure. Fix the test instead.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/playwright/SKILL.md
Popularity
- Repository stars
- 15,475
- Repository forks
- 2,452
- 7-day trend score
- 48
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 9 Nov 2026, 18 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/open-metadata/openmetadata/playwright)