scala-js-env-selenium icon indicating copy to clipboard operation
scala-js-env-selenium copied to clipboard

Chrome tests fail with multiple frameworks with `parallelExecution in Test := true`

Open nicolasstucki opened this issue 9 years ago • 3 comments

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.

nicolasstucki avatar Apr 18 '16 13:04 nicolasstucki

The frameworkDetector.js is returning correctly the framework in Firefox and Chrome.

nicolasstucki avatar Apr 18 '16 13:04 nicolasstucki

If all tests pass if they are executed with parallelExecution in Test := false.

nicolasstucki avatar Apr 18 '16 14:04 nicolasstucki

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.

nicolasstucki avatar Apr 18 '16 15:04 nicolasstucki