最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Playwright - report beforeAll and afterAll as separate test - Stack Overflow

programmeradmin4浏览0评论

The results/errors in beforeAll() and afterAll() are currently added to respectively the first and last test. In our case quite a lot already happens in these methods. If an error occurs in e.g. the beforeAll method, it looks like the first test has failed, while in fact the test hasn't even started.

Is it somehow possible (using a custom reporter?) to report them separately? This would make debugging and resolving issues much easier for us.

发布评论

评论列表(0)

  1. 暂无评论