loki
loki copied to clipboard
Tests fail in GitHub Actions if use node 17.x
Hi, when I run "npx loki --requireReference --reactUri file:./storybook-static" in IDE it passes. However, it fails in GitHub Actions if node-version is set 17.x and returns this error:
loki test v0.30.3 PASS chrome.app/START FAIL chrome.app/FETCH_STORIES: connect ECONNREFUSED ::1:35795 FAIL chrome.app: Some tasks failed to run Some visual tests failed to run Error: Process completed with exit code 1.
Also, no problems occur if the node is set to 16.x;
Why node loki fails on node 17 and how to fix it?
This sounds like the same problem as #405. You can try using the workaround I described there.