E2E Testing with Playwright
CommunityEnsure app quality with Playwright tests.
Authorarunoda
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a robust framework and guidelines for writing and maintaining end-to-end tests, ensuring the stability and reliability of the Brain application.
Core Features & Use Cases
- User-Centric Selectors: Emphasizes testing based on visible user interactions, not internal test IDs.
- UI Interaction & Waiting: Provides strategies for reliable element interaction and asynchronous content handling.
- Database Access: Allows direct DB verification when UI checks are insufficient, using a dedicated test database.
- Parallel Test Execution: Guides on structuring tests for efficient, parallel runs using
beforeAllandsetupPageWithUser. - Core Utilities: Offers helpers for environment loading, DB cleanup, user setup, and API response waiting.
- Use Case: Developers can write tests to verify that a new chat message appears correctly after being sent, or that a document can be successfully created and displayed.
Quick Start
Use the E2E Testing skill to write a new test for the chat interface.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: E2E Testing with Playwright Download link: https://github.com/arunoda/OkBrain/archive/main.zip#e2e-testing-with-playwright Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.