桌面测试配置与运行
desktop-testing
使用 desktop-test、desktop-driver 和 storybook-desktop 配置、运行或排查原生桌面测试,涵盖应用目标与测试套件、辅助函数、权限、WDIO 套件、Storybook 故事测试与冒烟运行、报告以及 CI。不适用于包源代码更改或 Storybook 应用构建工具链。
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1.4k
- Forks
- 179
01 前言 Front Matter
- name
- desktop-testing
- license
- MIT
- description
- Configure, run, or troubleshoot native desktop tests using desktop-test, desktop-driver, and storybook-desktop, including app targets and suites, helpers, permissions, WDIO suites, Storybook story tests and smoke runs, reports, and CI. Not for package source changes or the Storybook app build toolchain.
03 SKILL.md 正文
Desktop testing
Package references own commands, schemas, and troubleshooting. Read only the matching topic; do not copy its content here.
| Task | Read |
|---|---|
| Add an app target or suite | desktop-test configuration |
| Run stages, suites, or inspect results | desktop-test commands and reporting |
| Prepare a platform or provision a helper | desktop-test platforms and desktop-driver helpers |
| Integrate Storybook or run callbacks | storybook-desktop integration, commands, and tests |
| Fix E2E adapters or diagnose failures | desktop-test WDIO suites and lifecycle |
For machine-readable output, use the package command references for shared
--reporter modes; use NDJSON progress only when a live event stream is useful.
Workflow
- Identify the consumer workspace; read its config and declared scripts. For
apps/storybook, also readAGENTS.mdandagent-map.yaml. - Reproduce with the narrowest declared stage, suite, story, or filter. Provision the verified helper explicitly; never guess flags or call runner internals.
- Do not change privacy settings without authorization or overlap interactive desktop workloads.
- Report failures, skips, unsupported capabilities, and incomplete work distinctly. Skips are not passes.
- If a published package changed, add its changeset. Finish code/config
changes with
yarn clean-lage-cachethenyarn lage buildci.
For package source changes or reviews, use maintain-desktop-testing. For the
apps/storybook build/toolchain, use agentic-storybook-development.
Component story assertions stay with agentic-component-authoring; v0/v1
FluentTester assertions stay with maintain-v0-v1-component.
04 同仓库更多 Skills
组件代码审查
review-component
审查任意代际(v0、v1、智能体、基础组件或原生支持)的组件代码或变更,但不编辑文件。对每处变更进行分类,应用相应的检查清单和原生覆盖层,并报告带验证状态且有证据支撑的发现。
v0/v1 组件维护
maintain-v0-v1-component
修复或维护现有的 v0(foundation-compose)或 v1(framework compose/compressible)组件,包括其平台变体。先对所属代际进行分类,再仅加载对应的配方。不适用于新组件、agentic 组件、只读审查或纯原生更改。
桌面测试工具链维护
maintain-desktop-testing
更改、审查或规划对 desktop-driver、desktop-test、storybook-desktop 或 storybook-desktop-runtime(包括原生辅助函数)的源代码更改。应用包不变量、文档规范、原生与消费者验证,以及 changesets。
原生组件实现
implement-native-component
实现或更改原生组件、TurboModules、原生服务、codegen specs,或原生支撑的平台包装器(Swift、Objective-C、C++/WinRT、podspecs、Windows 项目)。同时提供适用于 v0、v1 和 agentic 工作的原生覆盖清单。不适用于 Storybook 工具链故障。
依赖安全漏洞修复
fix-security-issues
审计并修复依赖安全公告(漏洞),同时遵守包年龄策略、移除未使用的易受攻击能力、对 Yarn resolutions 去重,并验证受影响的工具链。
Storybook 应用开发构建
agentic-storybook-development
在 macOS、Windows 或 Win32 上开发、打包、构建或排查 apps/storybook 中的 agentic-components Storybook 应用,包括应用目录(catalog)配置、Metro、CocoaPods、原生项目和渲染器构建。不适用于配置或运行桌面测试,也不适用于更改桌面包源码。