Back to skills
SKILL.md
Ui Test Webdriverio
ASecurityUse this skill when you need to design WebdriverIO suites with config, services, runner behavior, Page Objects, capabilities, and reporters; triggers include WebdriverIO UI testing, UI automation testing, and ui-test-webdriverio.
- 313 stars
- 0 votes
- 0 copies
- 2 views
- Added November 6, 2026
Security analysis
100/100Pro scans all 20 files and shows the line behind each finding
npx -y skills add naodeng/awesome-qa-skills --skill ui-test-webdriverio --agent claude-codeAre you the author of Ui Test Webdriverio?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/naodeng-ui-test-webdriverio-awesome-qa-skills)---
name: ui-test-webdriverio
description: Use this skill when you need to design WebdriverIO suites with config, services, runner behavior, Page Objects, capabilities, and reporters; triggers include WebdriverIO UI testing, UI automation testing, and ui-test-webdriverio.
license: PolyForm-Noncommercial-1.0.0
metadata:
version: "1.0.0"
compatibility: ""
author: "Awesome QA Skills contributors"
language: "zh-CN"
category: "testing-types"
source: "https://github.com/naodeng/awesome-qa-skills"
license-url: "https://polyformproject.org/licenses/noncommercial/1.0.0"
---
# WebdriverIO UI 自动化测试
**English version:** see the matching English skill.
## 何时使用
- 需要输出面向 WebdriverIO UI 自动化测试工作流的测试方案或自动化设计。
- 项目已经使用相关工具,或希望得到可直接落地的工具专项方案。
## 输出格式选项
默认使用 Markdown。除非请求明确要求其他格式,不额外扩展输出格式。
## 如何使用
1. 打开 `prompts/ui-test-webdriverio.md`,将其作为主提示词。
2. 补充真实项目上下文:范围、环境、约束、风险、依赖和期望交付物。
3. 如果输入不完整,先返回可用的第一版,并标出缺失信息和假设。
## 参考文件
- 校准领域结果、正确对照或证据缺口时,读取 [references/domain-decision-example.md](references/domain-decision-example.md) 的脱敏输入、逐项预期与复算依据。
- `prompts/ui-test-webdriverio.md`:本技能主提示词。
- `references/framework-spec.md`:工具专项结构和覆盖说明。
- `references/setup-and-ci.md`:安装、执行和 CI 说明。
- `examples/sample-context.md`:示例请求上下文。
- `scripts/run-tests.sh`:轻量本地执行入口。
## 领域执行要点
1. 固定WebdriverIO/Node、runner/framework、browser/driver/service版本组合;核对capabilities、services与实际安装包、配置及远端支持,不从名称假定兼容。
2. 生成该版本的async spec/BDD步骤,所有异步命令await;等待以可观察业务状态和元素条件,原命令错误不得catch吞成通过。
3. 每worker独立session/身份/业务键,生命周期hooks负责初始化和清理;平台/浏览器差异仅覆盖项目支持矩阵,缺矩阵标未知。
4. 失败证据含testID、worker/session/capability、版本、URL、截图/日志和原堆栈;不兼容配置CONFIG_ERROR、业务断言失败与环境错误分列,均需可诊断并传播至CI。
## 常见误区
- 不要在范围模糊且缺少上下文时直接给泛泛方案。
- 不要把所有模块和场景视为同等重要。
- 不要跳过假设和缺失信息说明。
## 最佳实践
- 从 prompt 文件开始,只补充真正影响结果的上下文。
- 输出保持风险驱动,并能直接用于执行或评审。
- 信息不完整时,先给可用版本,再标清缺口。
- 验证生成资产的业务断言、失败传播或隔离时,读取 [evals/fixtures/checkout-app/README.md](evals/fixtures/checkout-app/README.md),使用本地good/bug/timeout对照;仅在明确运行时执行。
Files in this skill
- README.md
- SKILL.md
- agents/openai.yaml
- evals/cases/basic-success.yaml
- evals/cases/domain-method-regression.yaml
- evals/cases/edge-incomplete-input.yaml
- evals/cases/edge-scope-boundary.yaml
- evals/eval.yaml
- evals/fixtures/check-domain-decisions.sh
- evals/fixtures/check_domain_decisions.py
- evals/fixtures/checkout-app/README.md
- evals/fixtures/checkout-app/checkout.spec.cjs
- evals/fixtures/checkout-app/index.html
- evals/fixtures/checkout-app/receipt.html
- evals/fixtures/checkout-app/server.mjs
- evals/fixtures/checkout-app/wdio.conf.cjs
- evals/fixtures/domain-oracle.json
- examples/sample-context.md
- output-templates/template-markdown.md
- prompts/ui-test-webdriverio.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.