·playwright-best-practices
</>

playwright-best-practices

currents-dev/playwright-best-practices-skill

有关在 TypeScript 中编写、调试和维护 Playwright 测试的综合指南。在编写新的 Playwright 测试、审查测试代码、修复不稳定测试、调试测试失败、设置测试基础设施、实现页面对象模型、配置 CI/CD 管道、优化测试性能、修复选择器问题、处理身份验证、模拟 API、组织测试套件或解决 Playwright 问题时使用。涵盖 E2E、组件、API 和视觉回归测试。

222安装·10热度·@currents-dev

安装

$npx skills add https://github.com/currents-dev/playwright-best-practices-skill --skill playwright-best-practices

SKILL.md

This skill provides comprehensive guidance for all aspects of Playwright test development, from writing new tests to debugging and maintaining existing test suites.

When to use: Creating new test files, writing test cases, implementing test scenarios

| Writing E2E tests | test-organization.md, locators.md, assertions-waiting.md | | Writing component tests | test-organization.md, locators.md | | Writing API tests | test-organization.md, assertions-waiting.md | | Writing visual regression tests | test-organization.md | | Structuring test code with POM | page-object-model.md, test-organization.md |

有关在 TypeScript 中编写、调试和维护 Playwright 测试的综合指南。在编写新的 Playwright 测试、审查测试代码、修复不稳定测试、调试测试失败、设置测试基础设施、实现页面对象模型、配置 CI/CD 管道、优化测试性能、修复选择器问题、处理身份验证、模拟 API、组织测试套件或解决 Playwright 问题时使用。涵盖 E2E、组件、API 和视觉回归测试。 来源:currents-dev/playwright-best-practices-skill。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/currents-dev/playwright-best-practices-skill --skill playwright-best-practices
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 playwright-best-practices?

有关在 TypeScript 中编写、调试和维护 Playwright 测试的综合指南。在编写新的 Playwright 测试、审查测试代码、修复不稳定测试、调试测试失败、设置测试基础设施、实现页面对象模型、配置 CI/CD 管道、优化测试性能、修复选择器问题、处理身份验证、模拟 API、组织测试套件或解决 Playwright 问题时使用。涵盖 E2E、组件、API 和视觉回归测试。 来源:currents-dev/playwright-best-practices-skill。

如何安装 playwright-best-practices?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/currents-dev/playwright-best-practices-skill --skill playwright-best-practices 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/currents-dev/playwright-best-practices-skill

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01

相关 Skills

暂无