Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm-pack test --headless --safari fails with driver failed to bind port during startup in GitHub action #1442

Open
pemistahl opened this issue Oct 30, 2024 · 3 comments

Comments

@pemistahl
Copy link

🐛 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

@daxpedda
Copy link

I fixed this in rustwasm/wasm-bindgen#4267.

@pemistahl
Copy link
Author

@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?

@daxpedda
Copy link

daxpedda commented Dec 5, 2024

Further addressed in rustwasm/wasm-bindgen#4320.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants