What problem does it solve? Testing Capacitor apps requires coordinating multiple frameworks across web and native layers, and mocking native plugins correctly is a common source of broken or flaky tests. This Skill provides complete, working configurations and test patterns for every layer of the testing pyramid. ## Core Features & Use Cases - Unit Testing with Vitest: Set up Vitest with jsdom, mock Capacitor core and plugins like NativeBiometric, and write platform-specific test utilities. - Component and E2E Testing: Test React and Vue components with Testing Library, run Playwright tests against mobile device profiles, and drive real devices with Appium or Detox. - Native Testing: Write XCTest cases for iOS plugins and JUnit/instrumented tests for Android, plus CI workflows for GitHub Actions covering unit, E2E, iOS, and Android jobs. - Use Case: You are adding biometric login to a Capacitor 7 app and need to verify it works. Use this Skill to mock NativeBiometric in Vitest unit tests, test the login button component, and run an Appium test that simulates Touch ID on a real simulator. ## Quick Start Set up Vitest unit tests with mocked Capacitor plugins for my app's authentication service.