-
Notifications
You must be signed in to change notification settings - Fork 22
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
ScalaTest fails to fail in Firefox and Chrome #44
Comments
Partially based on http://japgolly.blogspot.com/2016/03/scalajs-firefox-chrome-sbt.html. Currently not running Chrome in Travis due to scala-js/scala-js-env-selenium#44. It won't fail the build appropriately. I can get Firefox to fail successfully in this project though. Not sure why the minimal reproduction case is different.
When debugging the minimal case I found issue #47, which might be producing this bug. But in that case the fails are only in Chrome and they do report the failure to SBT. |
@gshakhn have you tried using |
@nicolasstucki Just tried that in gshakhn/scalajs-selenium-scalatest-failure@3e31364. It still fails to fail on my machine. Does it work on yours? For what it's worth, the original bug I hit was only in Chrome. It reported the Firefox failures to SBT appropriately, failing the build correctly. Not sure why the simplified example fails in both browsers. |
* Get rid of uTest. It wasn't needed for the failing example. Was there just to prove that uTest worked. * Disable `parallelExecution` based on feedback from @nicolasstucki on scala-js/scala-js-env-selenium#44
Found the source of the issue, it is in the ScalaTest custom |
@gshakhn you should report this issue on the ScalaTest issue list. |
I think I am hitting the same issue as well when one of my tests fails in Scalatest, running on node. Just commenting here so all the info is in one thread instead of two.
|
Not sure if this is a ScalaTest bug or a scala-js-env-selenium bug, but a failing test fails to report the failure to sbt. Therefore the build passes when it shouldn't.
Minimal project is available at gshakhn/scalajs-selenium-scalatest-failure
The text was updated successfully, but these errors were encountered: