What problem does it solve?
This Skill prevents flaky, hard-to-maintain end-to-end tests by standardizing Playwright test structure, page objects, fixtures, and navigation patterns specifically for RedisInsight.
Core Features & Use Cases
- Playwright E2E package structure: Enforces a standalone layout under tests/e2e-playwright/ with TEST_PLAN.md as the source of truth for coverage and sequencing.
- Consistent page object model: Defines a stateless Page Object hierarchy (BasePage, InstancePage, and component-based composition) and encourages passing databaseId to navigation methods.
- Flakiness-resistant execution: Provides rules for when to use beforeAll/afterAll vs beforeEach, how to split Playwright projects (main/auto-update/electron), and how to avoid common anti-patterns that break Electron compatibility.
- UI-based navigation only: Requires using page-object goto() methods (not direct page.goto URL navigation) so tests work in both browser mode and Electron mode.
Quick Start
Use the e2e-testing Skill when adding or modifying tests under tests/e2e-playwright/ to follow the prescribed project structure, stateless page objects, UI-based navigation, and TEST_PLAN.md-driven coverage updates.