Test failures are reported as Passed #694
-
I am running some testng test with cucumber and when test fails after an assertion on dashboard it appears as “Passed”. Any ideas what might be causing this? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Can you share a screenshot ? |
Beta Was this translation helpful? Give feedback.
-
@primitivetypo This is a known issue in Currently, we don't have a concrete logic to determine if test execution is pass/fail. We just check all appium commands except Java client:
Webdriver.IO:
|
Beta Was this translation helpful? Give feedback.
-
Thanks @sudharsan-selvaraj the updateStatus execute script was flawless. |
Beta Was this translation helpful? Give feedback.
@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
andisDisplayed
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:
Webdriver.IO: