What problem does it solve?
Ensuring that new features and modifications work correctly across different parts of an application (API, UI, Database) requires thorough integration testing, which can be complex and time-consuming to set up and run. This skill streamlines the process of running and validating integration tests.
Core Features & Use Cases
- Comprehensive Test Types: Supports API, UI, and Database integration tests using Playwright.
- Intelligent Test Execution: Allows running all tests, specific files, or tests matching a pattern, with options for UI and debug modes.
- Structured Test Patterns: Provides templates for common scenarios like authentication, authorization, validation, and workspace isolation.
- Use Case: After implementing a new API route for challenges, use this skill to run API integration tests. It will verify that the route correctly handles workspace isolation, authentication, and validation, and if any tests fail, it will help you analyze the results and fix the underlying issues.
Quick Start
Run all API integration tests for the challenges feature. If any tests fail, provide a summary of the errors and suggest next steps for debugging.