【发布时间】:2020-06-29 14:17:07
【问题描述】:
在TestCafe documentationskipUncaughtErrors 标志中提到:uncaught error or unhandled promise rejection occurs on the server during test execution。
这里的server是什么意思?
在我们开始非常随机地遇到问题后,我发现了这个标志,几乎没有可以调试的地方:
1) - Error in fixture.beforeEach hook -
Unhandled promise rejection:
Error: [eval("")] Not JSON response
at exports.newError
认为设置skipUncaughtErrors: true 值得一试,此后我们再也没有看到这个问题。尽管如此,该团队还是担心使用我们不了解的功能。 :)
【问题讨论】:
标签: testing automation automated-tests e2e-testing testcafe