英文:
ERROR TypeError: Cannot read properties of null (reading 'pendingTaskDonePromise')
问题
我正在使用Jenkins来运行一些测试。在更新到testcafe的最新版本后,我们似乎遇到了一些错误。
12:13:30 错误 TypeError: 无法读取 null 的属性(读取 'pendingTaskDonePromise')
12:13:30 在 /var/lib/jenkins/workspace/uptests_testcafeeII/node_modules/testcafe/src/runner/index.js:183:75
12:13:30 在 Array.map (<anonymous>)
12:13:30 在 Runner._getTaskResult (/var/lib/jenkins/workspace/uptests_testcafeeII/node_modules/testcafe/src/runner/index.js:183:41)
有人知道这可能是什么问题,以及我们如何修复吗?
这发生在我们开始测试后立即发生,每天会发生几次。下一次运行将会像应该的那样正常工作。
英文:
I am using Jenkins to run some tests. We seem to get some errors after updating to the latest version of testcafe.
12:13:30 ERROR TypeError: Cannot read properties of null (reading 'pendingTaskDonePromise')
12:13:30 at /var/lib/jenkins/workspace/uptests_testcafeeII/node_modules/testcafe/src/runner/index.js:183:75
12:13:30 at Array.map (<anonymous>)
12:13:30 at Runner._getTaskResult (/var/lib/jenkins/workspace/uptests_testcafeeII/node_modules/testcafe/src/runner/index.js:183:41)
Does anyone have an idea what this could be and how we could fix this?
This happens immediatly after we start the test, occurs a couple of times per day. The next run will just work again as it should.
答案1
得分: 1
TestCafe团队将乐意协助您解决此问题。因此,请使用以下链接在官方TestCafe存储库中创建一个单独的线程:https://github.com/DevExpress/testcafe/issues/new?assignees=&labels=TYPE%3A+bug&projects=&template=bug_report.yaml。
在提交问题之前,请参考以下帮助主题:https://testcafe.io/documentation/402636/faq/general-info#how-to-create-a-minimal-working-example-when-you-submit-an-issue。
英文:
The TestCafe team will be happy to assist you with this issue. So, please create a separate thread in the official TestCafe repository using the following link: https://github.com/DevExpress/testcafe/issues/new?assignees=&labels=TYPE%3A+bug&projects=&template=bug_report.yaml.
Also, refer to the following help topic before submitting the issue: https://testcafe.io/documentation/402636/faq/general-info#how-to-create-a-minimal-working-example-when-you-submit-an-issue.
答案2
得分: 0
已添加以下问题 - 用于交叉链接
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论