-
Notifications
You must be signed in to change notification settings - Fork 53
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
Builds with Appium tests pass even if Jasmine tests fail #179
Comments
#178 is blocked by this, because it makes the failing tests invisible for runs with Appium. |
Does anyone know where exactly the success/failure of a run is defined? Because I added some output of what I though it was, but that indicates I didn't understand correctly:
https://github.com/apache/cordova-paramedic/pull/178/files#diff-ff902472818c9b031ca73ec778f68526 |
ping @alsorokin |
|
I don't think so - that all looks perfectly fine. |
Ah, I see.
|
Why do you think I added some output, see the earlier comment: #179 (comment)
Yep, that I agree with. I don't understand the code where this gets returned actually. I just can't find out what is executed as the last thing and defines that exit status. |
Because of the line |
Oh, I didn't notice that. Looking into it. |
Strange, this doesn't seem to influence the result: failing build:
(wrongly) succeeding build:
|
I notice that the wrongly succeeding ones mess up on "Getting saucelabs jobs details..." - there is nothing output for some reason. That generally happens when the Appium tests are actually run. |
It seems paramedic could use some more refactoring ;) |
I don't disagree - more or less what we are doing right now. Like this:
So that cordova-paramedic/lib/paramedic.js Lines 101 to 104 in 084dd2b
But: Then this also can't be where the actual return status code of the whole paramedic run is set anyway. |
During development of #178 I noticed, that the tests were passing although there were Jasmine (main) test failures:
https://travis-ci.org/apache/cordova-paramedic/jobs/552245365
Seems it is enough if the Appium tests pass for the whole run to be counted as successful. Not good.
The text was updated successfully, but these errors were encountered: