writing-playwright-tests
SKILL.md
Writing Playwright Tests Skill
This skill guides you through writing Playwright E2E tests following OpenMetadata standards.
Reference: @openmetadata-ui/src/main/resources/ui/playwright/PLAYWRIGHT_DEVELOPER_HANDBOOK.md
ESLint Enforcement
All Playwright tests are linted with eslint-plugin-playwright. Run before submitting:
cd openmetadata-ui/src/main/resources/ui
yarn lint:playwright
Error-level rules block CI: no-networkidle, no-page-pause, no-focused-test.
Warning-level rules highlight anti-patterns to fix: missing-playwright-await, no-wait-for-timeout, no-force-option, no-element-handle, prefer-web-first-assertions, and more. See the handbook's ESLint Enforcement section for details.