-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Running tests in headless mode for Firefox is failing with 500 code response but ok in web browser #2261
Comments
Thanks for the report! Can you try using the latest geckodriver and see if it works? If that's the case then you'll need to either configure that or wasm-pack will need to update. |
Hello ! Well, I succeed to install the latest geckodriver as you can see there
I am not sure how to run my tests with it to check for the bug. Is there a way somewhere to specify wasm-pack to use this one ? |
Sorry I'm not sure about wasm-pack, but if you run |
Hello :) What do you mean by running I have it in my Cargo.toml and I tagged tests with it like in https://rustwasm.github.io/docs/book/game-of-life/testing.html How should I set I am very new to this environment, I need some help because I do not know what to do :P Thank you ! |
There are a few sections in the guide about wasm-bindgen-test https://rustwasm.github.io/wasm-bindgen/wasm-bindgen-test/usage.html#appendix-using-wasm-bindgen-test-without-wasm-pack You can follow those instructions and then try
|
Thank you! I did spend some time on the doc :)
I am not sure what's is happening there because the file that it is complaining about works fine. |
When testing you'll need to also configure |
I've also encountered this issue, i've done some tests, and it seems that it is geckodriver v0.27 issue. Test complete if i use geckodriver 0.26 + Firefox 79/78.02, but fail with geckodriver 0.27 + Firefox 79/78.02. |
Thank you for your message ! I am sure that is the same issue for me because everything was working good until the 27/07 . |
Due to rustwasm/wasm-bindgen#2261. Signed-off-by: Joe Grund <[email protected]>
Due to rustwasm/wasm-bindgen#2261. Signed-off-by: Joe Grund <[email protected]>
Due to rustwasm/wasm-bindgen#2261. Signed-off-by: Joe Grund <[email protected]>
Hey guys, if somebody wants to dive deeper into |
I opened a PR. By the way, should we report he bug about geckodriver there as well ? |
Being able to select geckodriver version is a good thing, however im not sure that it fixes this issue. AFAIK, it is still unclear whether it is a bug in geckodriver v.0.27, and we have nothing to do here, or v0.27 introduced some BC break, and wasm-bindgen / wasm-pack should be updated. I will dive deeper into this later this week, if no one else wants to. |
Hello :) |
Cloud ABI [is now Tier 3](rust-lang/rust#75568), so its libstd is no longer distributed with Rust. Firefox testing is also disabled due to: rustwasm/wasm-bindgen#2261 Signed-off-by: Joe Richey <[email protected]>
Would it be possible to get a release including this fix? We had to disable Firefox CI testing, but this change would let use reenable it. |
Cloud ABI [is now Tier 3](rust-lang/rust#75568), so its libstd is no longer distributed with Rust. Firefox testing is also disabled due to: rustwasm/wasm-bindgen#2261 Signed-off-by: Joe Richey <[email protected]>
Sure thing! I'll be doing that in #2305 |
Describe the Bug
Hello guys !
First, I want to say thank you so much for wasm-bindgen. It feel soooo good to use Rust to do web stuff <3 !!!
Now, since today my command
wasm-pack test --firefox --headless
is failing this way on fresh clone from the tutorial repos and older project when I followed the nice tutorial.If I run just
wasm-pack test --firefox
and go in my Firefox, everything works as expected.Am I missing something ? I read the tutorial over and over and I am not sure what is happening or if I should post this issue there : https://github.com/mozilla/geckodriver/issues
Steps to Reproduce
git clone https://github.com/rustwasm/wasm_game_of_life.git
cd wasm_game_of_life
wasm-pack test --firefox --headless
Expected Behavior
Should :
example from
wasm-pack test --chrome --headless
Actual Behavior
Additional Context
On my linux my mozilla is 78.0.2 (64-bit)
Linux Mint 19.3
Ubuntu Bionic
Additional Details
Everything was working good last week. I see that geckodriver got an update on Monday , should I post the issue there maybe ? Is it maybe related ?
Thank you for your feedback & help guys !!!
PS: this is maybe the first big issue I ever posted, every feedback is welcomed to improve my writing style :)
The text was updated successfully, but these errors were encountered: