剧作家 - 如何在运行GlobalTeardown之前如何访问测试结果
在剧作家中,在执行了所有测试之后,我正在运行 globalTeardown 文件,该文件将通过进行一系列API调用将所有测试结果发送到外部测试管理工具。
我的目的是访问junit.xml文件并从那里获取临时测试结果,但是问题是该文件直到整个运行结束之前都不会生成,这是在 globaldeardown 呼叫之后。
在跑步结束之前,剧作家有没有办法访问临时测试结果?
In Playwright, after all tests have been executed, I am running a globalTeardown file that would send all of the test results to an external test management tool by making a series of api calls.
My intention was to access the jUnit.xml file and get the temporary test results from there, but the problem is that that file doesn't generate until the entire run is over, which is after the globalTeardown call.
Is there a way with Playwright to access the temporary test results, before the run is over?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论