What problem does it solve?
This Skill provides comprehensive guidance and patterns for writing robust End-to-End (E2E) tests for desktop applications built with Electron, ensuring their quality and stability.
Core Features & Use Cases
- Playwright Integration: Leverages Playwright for powerful browser automation capabilities tailored for Electron.
- Launch Configuration: Guides users through resolving the correct launch target and configuration based on
project.json settings.
- Zombie Process Management: Offers critical solutions for cleaning up orphaned Electron processes to prevent test failures.
- Main & Renderer Process Testing: Provides patterns for interacting with both the main and renderer processes of an Electron app.
- Use Case: You need to write automated E2E tests for your company's desktop application built with Electron, ensuring that UI interactions, inter-process communication, and native dialogs function correctly across different launch configurations.
Quick Start
Use the ui-test-electron skill to set up Playwright E2E tests for your Electron application, ensuring zombie processes are cleaned up before each run.