scala-js-env-selenium
scala-js-env-selenium copied to clipboard
Scala.js environment
If ESModule is enabled, Scala.js + Selenium can't complete tests because loading main.js failed due to CORS policy violation:  ``` Access to script at 'file:///Users/leo/work/git/scalajs-selenium/target/scala-3.1.2/test-selenium-test-fastopt/main.js' from origin 'null' has...
``` sbt:livechart> test [error] stack trace is suppressed; run last Test / jsEnv for the full output [error] (Test / jsEnv) java.lang.NoSuchMethodError: 'java.util.stream.Collector com.google.common.collect.ImmutableList.toImmutableList()' [error] Total time: 4 s, completed...
Consider: ```javascript var x = true window.setInterval(1000, function() { if (x) { x = false; throw "foo"; } scalaJSCom.send("hello"); } ``` The message(s) `"hello"` should not be sent.
Currently, we sometimes just show `[object ErrorEvent]`. Not very useful.
This would allow two things: - Terminate a run from within JS by calling `window.close()`. - Terminate a run when a user closes the browser. This is especially useful for...
I often have to test how whole systems works: client sending requests to the server, getting responses and rendering html. For this I have to run some backend code (like...
The issue is with the `Scala.js` test interface. It seems that on Chrome, the first framework (JUnit, ScalaTest or uTest) to run succeeds and then the following frameworks fail when...
- Drops Scala 2.11 (more recent Scala.js versions don't support it) - Updates sbt and its plugins, as well as Scala patch versions, to allow building on modern hardware (apple...