如何在CLI中禁用隔离模式以获取testcafe

发布于 2025-02-05 12:33:55 字数 387 浏览 3 评论 0原文

我们在.TestCaferc文件中启用了隔离模式。我们刚刚开始使用Applitools实施视觉测试,但是由于启用隔离模式时的检查如何与Applitools一起使用,因此我们正在浪费检查失败测试的检查。

我们想使用一个可以覆盖某些配置键的脚本来运行视觉测试:值,但尚未找到有关如何通过CLI禁用隔离模式的文档。

我已经尝试了-q false,-q = false,-quarantine mode false,-quarantine mode = false。

我们不能将尝试或成功设置为0,因为他们需要是> 0和尝试必须为>成功。

我能想到的唯一其他选择是创建一个仅用于视觉测试的整个单独的配置,当脚本更容易时,我们发现这是不需要的。

谁能阐明如何将CLI命令写入禁用隔离模式?

We have quarantine mode enabled in our .testcaferc file. We've just started implementing visual testing with applitools, but because of how the checks work with applitools, when quarantine mode is enabled, we're wasting checks on failing tests.

We want to run our visual tests with a script that would overwrite some config key:values, but haven't found documentation on how to disable quarantine mode via CLI.

I've tried -q false, -q=false, --quarantine-mode false, --quarantine-mode=false.

We can't set attempts or success to 0 as they need to be > 0 and attempts needs to be > success.

The only other option I can think of is to create a whole separate config just for visual testing, which we find to be a tad unneeded when a script is much easier.

Can anyone shine some light on how a CLI command can be written to disable quarantine mode?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

多情出卖 2025-02-12 12:33:56

它尚未实施。作为解决方法,您还可以从配置中删除隔离选项,并仅用于所需测试的CLI。我们将通知您一旦实现了此问题

It isn't implemented yet. As a workaround, you also can delete the quarantine option from the config and assign it with CLI only for the required tests. We will inform you in this issue once it is implemented

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文