e2e

Automate and verify UI changes in uni-app mp-weixin apps via WeChat DevTools simulator.

1|Updated May 31, 2026
One-click install
npx skills add https://github.com/kyn0v/Binwak --skill e2e-kyn0v
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e
Source: https://github.com/kyn0v/Binwak/tree/main/.github/skills/e2e
Command: npx skills add https://github.com/kyn0v/Binwak --skill e2e-kyn0v

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @dcloudio/uni-automator, jest, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of driving and verifying UI changes in uni-app mp-weixin applications using the WeChat DevTools simulator. It helps in running end-to-end and visual-regression tests, capturing screenshots, and diagnosing common issues.

Core Features & Use Cases

  • End-to-End Testing: Automates the testing of UI changes in a uni-app mp-weixin application.
  • Visual Regression Testing: Captures and compares screenshots to ensure UI changes are as expected.
  • Screenshot Capture: Allows capturing real runtime screenshots for UI verification.
  • Common Issue Diagnostics: Helps diagnose common issues like missing runtime hooks, trust popups, and port deadlocks.

Quick Start

Run the end-to-end test suite for the uni-app mp-weixin application using the command: npm run test:e2e:mp

Frequently Asked Questions about e2e

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate e2e testing for uni-app mp-weixin applications using WeChat DevTools?

You can automate e2e testing for uni-app mp-weixin by using Jest with @dcloudio/uni-automator to drive the WeChat DevTools simulator. Run the test suite via the command npm run test:e2e:mp to verify UI changes programmatically.

What is visual regression testing in uni-app and how does it handle screenshots?

Visual regression testing in uni-app captures real runtime screenshots during test execution to verify UI changes. The automation framework compares these throwaway screenshots against expected results to ensure your mp-weixin application renders correctly.

Do I need WeChat DevTools installed to run uni-app mp-weixin end-to-end tests?

Yes, you need both WeChat DevTools and a uni-app development environment installed. The e2e testing process relies on the WeChat DevTools simulator to run the mp-weixin application and execute the automated Jest test cases.

Why does my uni-app mp-weixin e2e test fail due to port deadlock or trust popup issues?

E2e tests often fail due to port deadlocks, trust popups, or logged-in data drift. This testing setup includes diagnostics to handle these common issues, along with resolving missing runtime hooks and compile mode errors during automation.

Can I use Jest and @dcloudio/uni-automator for visual regression testing on mp-weixin?

Yes, Jest and @dcloudio/uni-automator are the core dependencies used to execute visual regression testing. They drive the WeChat DevTools simulator to capture screenshots and verify UI changes in your uni-app mp-weixin project.