viteshot icon indicating copy to clipboard operation
viteshot copied to clipboard

Timeout on GitHub Actions using Percy shooter

Open ardaerzin opened this issue 3 years ago • 5 comments

switching from react-screenshot-test, everything works fine locally but we keep getting a timeout error while running the tests on GitHub Actions. logs look like the following:

Pre-bundling dependencies:
  react
  clsx
  next/image
  styled-components
  styled-css-grid
  (...and 17 more)
(this will be run only when your dependencies or config have changed)

warn - You have enabled the JIT engine which is currently in preview.
warn - Preview features are not covered by semver, may introduce breaking changes, and can change at any time.
TimeoutError: **Navigation timeout of 30000 ms exceeded**
error Command failed with exit code 1.

I did a debug locally, and like I said, I don't run into any problems there

ardaerzin avatar Dec 06 '21 13:12 ardaerzin

Hi @ardaerzin, sorry for the delay!

I wonder if you can reproduce it locally if you delete the node_modules/.vite directory?

fwouts avatar Dec 08 '21 04:12 fwouts

@fwouts no worries.

I just tried your suggestion, multiple times, but was not able to reproduce it.

ardaerzin avatar Dec 08 '21 09:12 ardaerzin

@fwouts we were using Percy before, so to keep things consistent, I was trying the Percy shooter. today I gave the playwright shooter a go, and I do not experience this problem

ardaerzin avatar Dec 10 '21 14:12 ardaerzin

Thanks @ardaerzin, so just to confirm, the issue was specific to the Percy shooter?

fwouts avatar Dec 13 '21 00:12 fwouts

@fwouts yes that seems to be the case. having no issues with the playwright shooter now. if it happens again, I'll update this ticket with further info

ardaerzin avatar Dec 14 '21 08:12 ardaerzin