playwright-testing
86提升 Playwright 测试覆盖率
由 C0ntr0lledCha0s
当配置、定位器和 fixtures 不一致时,Playwright 测试套件可能会变得不稳定。此技能提供可靠浏览器测试、调试和可复用页面对象的实用模式。
Build Reliable Playwright Tests
Fragile tests and inconsistent setup make browser testing difficult to maintain. This skill provides practical Playwright patterns for test design, debugging, and CI workflows.
安装前请停下并请求确认。
请审查安装计划,并在更改文件前获得用户明确同意。
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "playwright-best-practices" from https://skillstore.io/skills/currents-dev-playwright-best-practices.md and its manifest at https://skillstore.io/api/skills/currents-dev-playwright-best-practices/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“playwright-best-practices”。 A checkout test sometimes fails after clicking Submit.
预期结果:
正在使用“playwright-best-practices”。 Plan a faster Playwright workflow for our CI pipeline.
预期结果:
Most presented alerts are benign Playwright examples; no evidence found of keylogging, prompt injection, or malicious exfiltration in reviewed context. Confirmed risks involve unguarded database operations, predictable temporary files, and indiscriminate process termination; HAR commit guidance adds a data-disclosure concern. All 400 presented findings were adjudicated; 888 omitted matches still require manual review before automatic publication. Static review was capped at 400/1288 representative findings; omitted static matches are unconfirmed, so automatic publishing stays disabled until manual review.
这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/currents-dev-playwright-best-practices/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/currents-dev-playwright-best-practices?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/currents-dev-playwright-best-practices?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/currents-dev-playwright-best-practices/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/currents-dev-playwright-best-practices.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>currents-dev. (2026). playwright-best-practices security audit report (audit version 1) [Author version 1.2]. Skillstore. https://skillstore.io/skills/currents-dev-playwright-best-practices/audits/1@techreport{currents-dev-currents-dev-playwright-best-practices-2026,
author = {currents-dev},
title = {playwright-best-practices security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/currents-dev-playwright-best-practices/audits/1},
note = {Author version 1.2}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "playwright-best-practices security audit report (audit version 1)"
version: "1.2"
type: report
authors:
- name: "currents-dev"
date-released: "2026-10-29"
url: "https://skillstore.io/skills/currents-dev-playwright-best-practices/audits/1"
identifiers:
- type: other
value: "skillstore:currents-dev-playwright-best-practices:audit:1"
description: "Skillstore immutable audit report identifier"
每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
0xbigboss-playwright-best-practices
2026-10-11
currents-dev-playwright-best-practices
2026-10-29
vitalics-playwright-best-practices
2026-09-09
Create application tests with accessible locators, reusable setup, and assertions tied to visible behavior.
Review flaky tests for timing errors, shared state, unstable selectors, and missing network synchronization.
Plan browser installation, caching, sharding, reports, and controlled environment setup for automated test runs.
Write a Playwright test for the login flow in this project. Use accessible locators and auto-waiting assertions. Identify missing application details before assuming selectors.
Review this failing Playwright test and its error output. Identify timing, locator, and isolation problems. Propose focused fixes and repeated-run verification without hiding failures.
Design Playwright fixtures for admin and member workflows in this project. Isolate worker data and protect saved authentication state. Explain which external services need mocks.
Review this Playwright CI configuration for sharding, caching, reports, and database lifecycle. Restrict destructive operations to disposable test resources. Require approval before destructive changes.
作者
currents-dev许可证
MIT
作者版本
v1.2
Skillstore 修订
r1
版本提示
作者声明的版本不符合 SemVer 规范。
引用
852767f17b3e9a2317cd8302fd137de70411b33f
维护新鲜度
2026/10/29
使用量
0 次下载 · 0 次浏览
提升 Playwright 测试覆盖率
由 C0ntr0lledCha0s
当配置、定位器和 fixtures 不一致时,Playwright 测试套件可能会变得不稳定。此技能提供可靠浏览器测试、调试和可复用页面对象的实用模式。
构建可靠的测试自动化
由 89jobrien
薄弱的测试会拖慢发布并掩盖回归问题。此技能可指导测试策略、TDD、自动化、覆盖率审查以及 Playwright Web 检查。
Choose Reliable Software Testing Interfaces
由 hunxuankai
Choosing the wrong testing interface can increase effort and leave acceptance requirements unverified. This skill selects suitable interfaces and checks observable outcomes with scoped desktop helpers.
构建实用的测试策略
由 Atman36
团队经常在没有明确范围、工具或覆盖率目标的情况下添加测试。此技能为 Vitest、Playwright 和 CI 测试提供实用计划。
构建可靠的 Jest 测试套件
由 C0ntr0lledCha0s
Jest 项目通常需要一致的设置、mock 和断言模式。此技能为 JavaScript、TypeScript、React 和 Vitest 风格的测试提供聚焦的指导、模板和检查。
创建 Playwright Web 应用测试
由 AutumnsGrove
手动浏览器测试速度慢,而且经常遗漏表单、设备和网络状态方面的回归问题。此技能可帮助 Claude、Codex 和 Claude Code 为真实 Web 工作流创建实用的 Playwright 测试。