scala-js-env-selenium
scala-js-env-selenium copied to clipboard
Chrome tests fail with multiple frameworks with `parallelExecution in Test := true`
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 trying to cast their test suite classes.
As far as I saw, if tests are executed in only one framework the tests succeed.
The frameworkDetector.js is returning correctly the framework in Firefox and Chrome.
If all tests pass if they are executed with parallelExecution in Test := false.
If I have 3 test frameworks, then sbt is opening 3 instances of Chrome with testFrameworkInfo.js, 3 with testMaster.js and the slaves.
@gzm0 is this how it is supposed to work? If it is, do you have some insight that might help me finding the source of this bug.