Cant figure out how to use Playwright native visual regression with Gherkin BDD

未关闭
#5,337 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
停滞
技术栈
javascript, playwright
领域
testing-qa

调研方向

该 issue 指向 Playwright 的 test-snapshots 文档和一个 Gherkin/BDD 设置,但没有指出任何 CodeceptJS 文件或测试。首先,结合仓库中的 Gherkin 和 Playwright 集成,查看文档所述的原生 snapshot 流程,然后确定是否可以提供受支持的示例,以及一个可靠的完整设置应当是什么样的。

由索引模型根据 Issue 内容生成。

描述

stale

Hey everyone,

Maybe I am missing something obvious, but I cant find any proper way to use Playwrights native visual regression snapshots with a Gherkin BDD setup.
Doc here: https://playwright.dev/docs/test-snapshots

I am running my tests through Gherkin and BDD tooling, and everything works fine except the visual part. I would really prefer to avoid third party plugins and stay fully native with Playwright if possible.

Has anyone already managed to get this working in a clean and reliable way?

Any hint or example would be super appreciated. 😇

主要语言
JavaScript
星标
4.2k
派生
756
平均合并
2 天 9 小时
30 天内合并 PR
16

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

codeceptjs/CodeceptJS 的其他 Issue

查看 codeceptjs/CodeceptJS 的全部 Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。