New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Vitest-based E2E testing skill using Midscene to drive Web, Android, and iOS UI with natural-language steps.

skills.sh installs
2.2K
GitHub stars
325
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers creating, updating, debugging, and running E2E tests across Web (Playwright), Android (ADB), and iOS (WebDriverAgent)
  • Includes a boilerplate clone step that compares the project against vitest-all-platforms-demo and fills in only the requested platforms
  • Enforces use of aiAct for user-described UI steps, rather than decomposing them into fine-grained APIs like aiTap or aiInput
  • Designed for teams writing AI-driven UI tests in TypeScript who want natural-language selectors instead of brittle locators

Install

$ npx -y skills add web-infra-dev/midscene-skills --skill vitest-midscene-e2e -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Vitest Midscene E2E

Modules

ModuleRole
VitestTypeScript test framework. Provides describe/it/expect/hooks for test organization, assertions, and lifecycle.
MidsceneAI-driven UI automation. Interacts with UI elements via natural language — no fragile selectors. Core API: aiAct.

Supported platforms:

  • Web — WebTest (Playwright Chromium): ctx.agent + ctx.page
  • Android — AndroidTest (ADB + scrcpy): ctx.agent only
  • iOS — IOSTest (WebDriverAgent): ctx.agent only

Workflow

Step 1: Clone boilerplate & ensure project ready

bash scripts/clone-boilerplate.sh

Details

Repository
github.com/web-infra-dev/midscene-skills
Categories
Testing & QA, Frontend & UI Code, Mobile Apps
First seen
May 16, 2026

More from web-infra-dev/midscene-skills

All 7

Similar to Vitest Midscene E2e

More Testing & QA