BackstopJS icon indicating copy to clipboard operation
BackstopJS copied to clipboard

Issue with timeouts while running reference/test cases.

Open mattbesedick opened this issue 10 months ago • 1 comments

Hello!

I am currently new to BackstopJS, and visual regression testing in general, but I found this tool and I wanted to integrate it into my project!

I am currently using docker/rails/node/yarn for my project and I'm having an issue now where running 'yarn backstop reference' will intermittently timeout. Sometimes it is able to complete the reference/test files as well, but that doesn't happen as frequently. I have played around with the config file a bit -- setting different delays, adjusting the async capture/compare limits, and nothing seems to be working. I'm unable to get consistent results here. (Also for reference -- our app in docker is running on rockylinux 8)

Puppeteer encountered an error while running scenario "* Page" TimeoutError: Navigation timeout of 60000 ms exceeded

Any ideas on what to do here? Thanks so much!

mattbesedick avatar Mar 06 '25 17:03 mattbesedick

Start with serving a plain html file -- no js or other dependencies. See if you can get that to render consistently in backstop. See if that provides insights.

Cheers

garris avatar Mar 07 '25 03:03 garris