Webapp Testing

Use when testing or debugging an authorized local web application with Playwright, including user flows, responsive behavior, screenshots, console logs, and network evidence.

9 stars 3 forksTesting & QA

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add sandbaseai/workbuddy-skill --skill webapp-testing
Manual install
git clone --depth 1 https://github.com/sandbaseai/workbuddy-skill.git /tmp/workbuddy-skill
mkdir -p ~/.claude/skills
cp -r /tmp/workbuddy-skill/skills/webapp-testing ~/.claude/skills/webapp-testing

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Web 应用浏览器测试

使用真实浏览器验证已授权 Web 应用的可见行为、交互流程和失败证据。先确认测试环境、构建版本、浏览器矩阵、账号权限、数据隔离和副作用,再执行 Playwright;测试结果只代表声明的环境与时间窗口,不自动证明无障碍、性能或生产安全。

## 范围与安全边界

- 开始前记录目标 URL、应用 commit/build、浏览器/OS、视口、语言/时区、测试账号、允许的域名、数据清理方式和授权人;优先使用本地或隔离 staging。
- 默认只访问 allowlist URL,禁止把用户提供的 URL 直接交给浏览器;阻断不必要的外链、下载、WebSocket、内网/云元数据地址和跨租户跳转,避免 SSRF。
- 使用合成账号、非敏感数据和测试支付/邮件通道;不得填入真实密码、token、银行卡、个人数据,不得提交真实订单、消息、权限变更或删除操作。
- 截图、trace、HAR、DOM、控制台和网络日志要脱敏并限制保存时间;禁止把 Authorization、Cookie、localStorage、完整请求体或个人数据写进 artifact。
- 测试完成后关闭 browser/context/page,清理临时数据和监听器;失败时保留最小必要证据,不能以清理失败掩盖原始失败。

## 测试前检查

确认应用可访问、健康接口与版本匹配,浏览器/Playwright 版本锁定,依赖安装可复现,测试服务器不会连接生产资源。先收集页面标题、版本标识、初始 console/page errors 和关键网络失败,再执行交互;若应用未运行、认证未授权或环境不确定,标记 `BLOCKED/NEEDS INVESTIGATION`,不猜测通过。

```javascript
import { test, expect } from "@playwright/test";

test("authorized smoke flow", async ({ page }) => {
  await page.goto("http://127.0.0.1:3000", { waitUntil: "domcontentloaded" });
  await expect(page).toHaveTitle(/expected app/i);
  await expect(page.getByRole("main")).toBeVisible();
});
```

示例地址、标题和账号必须替换为隔离环境的实际契约;不要把示例密码或未经审核的 URL 带入测试。

## 交互与断言

- 优先使用 `getByRole`、可访问名称、`getByLabel`、`data-testid` 等稳定选择器;不要依赖脆弱 CSS、DOM 深度、动画时序或本地化文本的偶然片段。
- 每个流程定义前置状态、动作、可观察结果、清理和副作用;断言用户可见文本、状态、URL、表单错误、下载/导航和后端 mock,而不只断言“没有抛异常”。
- 先做小而清晰的导航/渲染 smoke,再逐步验证表单、筛选、分页、上传、弹窗、键盘、错误恢复和跨视口流程;每个断言对应需求或缺陷编号。
- 使用 locator 自动等待和明确的 `expect`;只有在等待外部系统且理由可记录时才使用 bounded polling,禁止无边界 sleep 或无限重试掩盖 race condition。
Read the full skill on GitHub

Details

Skill name
webapp-testing
Path
skills/webapp-testing/SKILL.md
License
MIT
Repo updated
8 September 2026

FAQ

What does the Webapp Testing skill do?

Use when testing or debugging an authorized local web application with Playwright, including user flows, responsive behavior, screenshots, console logs, and network evidence.

How do I install the Webapp Testing skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add sandbaseai/workbuddy-skill --skill webapp-testing. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Webapp Testing popular?

It lives in sandbaseai/workbuddy-skill, which has 9 GitHub stars and 3 forks.

Related skills

Access Control Security Best Practices

9

sandbaseai/workbuddy-skill

Design, review, implement, and verify least-privilege access controls across users, services, tenants, resources, and administrative workflows.

Security

Accessibility Review

9

sandbaseai/workbuddy-skill

Use when reviewing a web interface or interaction for semantic, keyboard, focus, screen-reader, ARIA, and contrast accessibility risks.

Frontend & Design

Acquire Codebase Knowledge

9

sandbaseai/workbuddy-skill

Use when the user asks to map, document, or onboard into an existing codebase and needs evidence-backed architecture, structure, conventions, integrations, testing, and concerns documentation.

Software Development

Hypothesis Testing

5

tilmon-engineering/claude-skills

Rigorous hypothesis testing process for data analysis - formulate hypotheses before looking at data, design tests, analyze systematically, interpret with skepticism

Testing & QA

Tight Bug Loop

9

sandbaseai/workbuddy-skill

Use when diagnosing a hard bug or performance regression and a fast, deterministic, symptom-specific feedback loop is needed before forming or testing hypotheses.

Testing & QA

Bio Chipseq Allele Specific Binding

9

hackernoon/cuttlefish-agent-skills

Detects allele-specific transcription factor or histone modification binding from heterozygous-variant ChIP-seq using WASP (reference-bias filter; mandatory upstream), RASQUAL (joint QTL + bias-corrected testing), BaalChIP (Bayesian beta-binomial with copy-number-aware overdispersion), and AlleleSeq (personalized diploid genome). Handles imprinted-locus awareness, X-inactivation artifacts, cancer copy-number imbalance, and integration with downstream caQTL / bQTL mapping. Use when identifying variants with allelic effects on TF binding, fine-mapping causal regulatory variants, validating deep-

Testing & QA

Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.