gpt4 book ai didi

selenium - jbehave + 修昔底德 : how to override 300s timeout

转载 作者:行者123 更新时间:2023-12-03 22:01:57 24 4
gpt4 key购买 nike

我正在使用 thucydides jbehave 插件来运行 Selenium 测试。但是,由于 jbehave 超时,我不能运行超过 5 分钟的测试。我不知道应该如何配置 thucydides/jbehave 来覆盖此限制。 Selenium 测试过去超过 5 分钟,因此这对许多人来说应该是一个实际问题。

最佳答案

要覆盖超时,用户应该将 thucidides.properties 文件添加到项目的主文件夹中(如果您使用 thucidides jbehave 原型(prototype),默认情况下没有这样的文件)。

例如,设置 story.timeout.in.secs=3000 并保存文件。超时参数将被覆盖

关于selenium - jbehave + 修昔底德 : how to override 300s timeout,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16238759/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com