What problem does it solve?
This Skill enables the creation and review of integration and end-to-end tests for the project, ensuring application behavior is validated through real user interactions with a live PostgreSQL database, eliminating the need for mocks.
Core Features & Use Cases
- Full-Stack Testing: Write tests using Playwright that interact with a real browser, server, and PostgreSQL database.
- Behavior-Driven Development: Focus on testing user-observable behavior rather than implementation details.
- Ad-hoc Browser Automation: Perform quick checks, take screenshots, or automate browser interactions for immediate feedback.
- Use Case: After implementing a new user registration flow, use this Skill to write Playwright tests that simulate a user signing up, verifying that the data is correctly stored in the database and the user is redirected to the dashboard.
Quick Start
Use the kcd-testing skill to write Playwright tests for the user login flow.