browser not launching in Windows in GitHub Actions
I've ported tests in Lume from Karma to WTR, and it is amaaaaaazing.
However, although tests run fine for me in Windows locally, in GitHub Actions they fail to load the browser.
Here's sample build from that PR:
https://github.com/lume/lume/actions/runs/6701354377/job/18208981742?pr=287
There's this message in the output:
❌ The browser was unable to create and start a test page after 30000ms. You can increase this timeout with the browserStartTimeout option.
The config does not specify browsers, just uses test-runner's default in this case.
Linux and macOS builds are passing with flying colors. Any idea why it might work in my local PowerShell but not in GitHub Actions?
Related issue:
- https://github.com/modernweb-dev/web/issues/1456
I'm having the same issue, but it seems completely random. Sometimes I get the same error message, and sometimes it works. It's a pain having to restart the tests on GitHub regularly because of this.
We have been having same issues in our own build here, the Windows build breaks like 90% of the times. I couldn't find any solution on our side, so started thinking that the GitHub Actions Windows image is not stable enough. I will be happy to be wrong, but after spending a few evenings on this problem, I kinda gave up myself.