mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-27 03:31:35 +00:00
Default to headless testing for the test runner (#610)
We've gotten a number of reports that the interactive tests are a bit surprising and confusing (also because it barely prints anything!). Instead let's default to headless testing which matches the Rust style of testing much better. The error message for a missing WebDriver binary has been updated with a note of how to *not* do headless testing and the message for interactive testing was also updated to display more information as well.
This commit is contained in:
@ -210,6 +210,11 @@ although more driver support may be added! You can download these at:
|
||||
* chromedriver - http://chromedriver.chromium.org/downloads
|
||||
* safaridriver - should be preinstalled on OSX
|
||||
|
||||
If you would prefer to not use headless testing and would instead like to do
|
||||
interactive testing in a web browser then you can specify `NO_HEADLESS=1` as
|
||||
an environment variable. When rerun the tests will start a server that you can
|
||||
visit in a web browser, and headless testing should not be used.
|
||||
|
||||
If you're still having difficulty resolving this error, please feel free to open
|
||||
an issue against rustwasm/wasm-bindgen!
|
||||
")
|
||||
|
Reference in New Issue
Block a user