宁静失败BDD黄瓜测试需要很长时间才能退出

发布于 2025-02-09 05:04:18 字数 243 浏览 1 评论 0原文

在我们的Serenity BDD黄瓜测试报告中,我们注意到失败的测试步骤已将超过1200秒的时间用于超时/退出。

例如,如果测试遇到问题,例如;

net.thucydides.core.pages.wrongpageerror

,宁静报告显示测试需要1200秒即可退出。测试正在硒枢纽上进行。

是否存在控制超时的宁静配置参数,或者在通过硒枢纽运行时是否有任何已知问题会导致这种行为?

In our Serenity BDD Cucumber test reports we notice failing test steps are taking over 1200secs to timeout/exit.

For example if a test hits a problem, such as;

net.thucydides.core.pages.WrongPageError

then the Serenity Report shows the test is taking 1200 seconds to exit. The tests are being run on Selenium Hub.

Is there a Serenity configuration parameter that controls timeout or are there any known issues when running via selenium hub that would cause this behaviour?

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

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

发布评论

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

评论(1

热血少△年 2025-02-16 05:04:18

该问题可追溯到网格配置中的BrowserTimeout参数。

The issue was traced to the browserTimeout parameter in the grid config.

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