金丝雀发布
简介
Playwright for Node.js 有一个金丝雀发布系统。
它允许您测试尚未发布的新功能,而无需等待完整版本发布。这些功能每天都会通过Playwright的next
NPM标签发布。
这是一个很好的方式向维护者提供反馈,确保新实现的功能按预期工作。
note
Using a canary release in production might seem risky, but in practice, it's not.
A canary release passes all automated tests and is used to test e.g. the HTML report, Trace Viewer, or Playwright Inspector with end-to-end tests.
npm install -D @playwright/test@next
下一个npm分发标签
对于main
分支上的任何代码相关提交,持续集成系统将在@next
npm分发标签下发布每日canary版本。
你可以在npm上查看当前的dist标签:
latest
: 稳定版本next
: 下一个版本,每日发布beta
: 在发布分支创建后,通常在稳定版发布前一周,每次提交都会在此标签下发布
使用金丝雀发布
npm install -D @playwright/test@next
文档
稳定版和next
文档发布在playwright.dev上。要查看next
文档,请在键盘上连续按Shift键5
次。