`wasm-pack test --headless --safari` fails with `driver failed to bind port during startup` in GitHub action
🐛 Bug description
In a GitHub action on a macOS 14.7 runner in one of my libraries, I've been running wasm-pack test --headless --safari on every commit. It worked flawlessly for months but now the tests fail to execute at all. I get the error driver failed to bind port during startup. See this workflow run for reference. I've enabled the Safari driver with sudo safaridriver --enable before. On my local machine, it works fine. The headless tests in Chrome and Firefox also work fine. I'm not able to say whether this is a problem with wasm-pack, Safari or the GitHub runner.
🤔 Expected Behavior
The tests should run in headless Safari but they do not because the Safari driver fails to run the tests.
👟 Steps to reproduce
See this workflow run for reference.
🌍 Your environment
Include the relevant details of your environment. wasm-pack version: 0.13.0 rustc version: 1.82.0
I fixed this in https://github.com/rustwasm/wasm-bindgen/pull/4267.
@daxpedda Are you sure? I'm still getting the same error with wasm-bindgen 0.2.97 and wasm-bindgen-test 0.3.47.
Has the bug fix not been released yet?
Further addressed in https://github.com/rustwasm/wasm-bindgen/pull/4320.