Hello, everyone! I have tests in which I need to compare some elements visually. For this purpose I am using toHaveScreenshot() method. When I have run tests locally it works correctly. But when I have run tests via GitHub Actions there are cases when screenshots are not made. Could you, please, advise, how to resolve this issue? Thanks!
This thread is trying to answer question "How can the issue of toHaveScreenshot() not creating screenshots when tests are run via GitHub Actions be resolved?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email firstname.lastname@example.org.