TestCafe:更新后开始在等待 t.debug() 上失败 RangeError:超出最大调用堆栈大小
当我尝试使用 wait t.debug() 时,我开始收到此错误消息,
但没有更改我的代码中的任何内容。我开始做一个新任务,并将testcafe升级到新版本,现在在调试时总是失败。没有调试的代码运行良好。
internal/console/constructor.js:291
throw e;
^
RangeError: Maximum call stack size exceeded
at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:19:16)
at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:22:31)
at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:22:31)
at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:22:31)
at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:22:31)
at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
Out of nowhere i started to get this error message, when I try to use await t.debug()
have not changed anything on my code. I started to work on a new task and upgraded the testcafe to a new version, and now it always fails when doing debug. The code without debug runs fine.
internal/console/constructor.js:291
throw e;
^
RangeError: Maximum call stack size exceeded
at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:19:16)
at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:22:31)
at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:22:31)
at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:22:31)
at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
at WriteStream.overriddenWrite [as write] (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/log-update-async-hook/src/index.js:22:31)
at WriteStream.stream.write (/Users/pavelgusilic/Documents/GitHub/e2e/node_modules/testcafe/src/notifications/debug-logger.js:19:30)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 TestCafe GitHub 存储库中查看有关此问题的进度和详细信息: https://github.com /DevExpress/testcafe/issues/6906。
See the progress and detailed information about this issue in the TestCafe GitHub repository: https://github.com/DevExpress/testcafe/issues/6906.