Skip to content

Test failures are reported as Passed #694

Discussion options

You must be logged in to vote

@primitivetypo This is a known issue in appium-dashboard plugin.

Currently, we don't have a concrete logic to determine if test execution is pass/fail. We just check all appium commands except findElement and isDisplayed for any errors. if those commands result in an error, we mark those tests as failed. We also provide an option to update the test status from the code.

Java client:

driver.executeScript("dashboard: updateStatus", ImmutableMap.of("status", "passed"));

Webdriver.IO:

driver.executeScript("dashboard: updateStatus", [{status: "passed"}]);

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by primitivetypo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants