360 Secure SkillHub
360 安全技能中心

playwright-qa

面向 QA 工程师的 Playwright 外围工作流,含四个指南:从工单/PRD 设计测试用例与风险排序、判定失败属于应用缺陷/测试缺陷/不稳定并撰写缺陷报告、把手工用例或 CSV 转为带用例 ID 的 Playwright 脚本、评审测试代码与 PR。需自备 core 基础指南与 Playwright 环境。

testdino-hq
热度 0.00
最近更新 2026-10-19 02:59:30
分类:开发依赖:代码执行 / 读写文件应用场景:代码生成 / 代码审查 / 调试排错 / 自动化脚本 ...

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add testdino-hq/playwright-skill/playwright-qa
Metadata
name
playwright-qa
description
QA engineering workflows on top of Playwright. Use when a QA engineer asks to design test cases from a ticket, PRD or acceptance criteria, decide what to automate, write a bug report from a failing test or trace, convert manual test cases (TestRail, Xray, CSV) into Playwright specs with case-ID traceability, or review Playwright test code and pull requests.

Playwright QA Workflows

For QA engineers: the work around the test code. What to test, how to report what broke, how to automate a manual suite, and how to judge a test.

4 guides. They build on the core/ guides for the Playwright APIs and link to them rather than repeating them.

Guide Index

What you're doing Guide
Ticket / PRD / acceptance criteria → test cases, risk ranking, test plan for the generator test-design.md
Failing test → app bug, test bug or flake; bug report; what to do with the test meanwhile bug-reports.md
Manual test cases or a CSV export → Playwright specs with case IDs manual-to-automated.md
Review Playwright tests or a PR; lint rules; prove a test can fail test-review.md

Golden Rules

  1. Boundaries and negative paths first: bugs live at the edges of a rule, not in the happy path.
  2. Lowest layer that proves it: rules at API level, wiring and critical flows in E2E.
  3. Classify before filing: app bug, test bug, flake or environment; the trace usually decides.
  4. Frequency is a number: --repeat-each=20 gives N/20, never "sometimes".
  5. Known bug → test.fail() with an issue link, never a deleted test or a loosened assertion.
  6. A test that can't fail guards nothing: break the feature once and watch it fail.
  7. Keep case IDs on automated tests so results map back to the manual suite.