What problem does it solve?
This Skill automates the complex and time-consuming process of creating, running, and debugging end-to-end (e2e) tests for the Uniswap web application. It simplifies interaction with local blockchain environments (Anvil) and external API mocking, ensuring application quality with minimal manual effort.
Core Features & Use Cases
- Automated Test Execution: Easily run comprehensive Playwright e2e tests, including those requiring a local blockchain, with streamlined commands.
- Structured Test Development: Provides a clear architecture for writing robust tests using custom Playwright fixtures for GraphQL, Anvil, and Trading API mocking, alongside best practices like TestIDs.
- Advanced Debugging & Troubleshooting: Offers various modes for debugging (headed, UI, Playwright Inspector) and integrates with Playwright MCP for interactive browser automation, making test failure diagnosis efficient.
- Use Case: Imagine you've implemented a new token swap flow. Use this Skill to automatically set up the test environment, run all relevant e2e tests, and quickly pinpoint any issues, ensuring a flawless user experience before deployment.
Quick Start
Use the web-e2e skill to run all end-to-end tests for the Uniswap web application and provide a summary of any failures.