sudharsan-selvaraj / appium-dashboard-plugin

Appium plugin that provides complete test logs, video recording of test and device logs(logcat and syslogs) for easy debugging.
113 stars 28 forks source link

Marking test case status pass or failed . #107

Closed samagarw closed 1 year ago

samagarw commented 1 year ago

How we can mark the test status in appium dashboard as pass or failed .

samagarw commented 1 year ago

Marking session status as passed or failed . Currently it is marking failed even all the tests are passing .

sudharsan-selvaraj commented 1 year ago

We have custom command for updating the test status. Supported statuses are passed and failed

Java client:

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

Webdriver.IO:

driver.executeScript("dashboard: updateStatus", [{status: "passed"}]);
samagarw commented 1 year ago

It works thank you . Can you please give me the link for docs for all these ?

sudharsan-selvaraj commented 1 year ago

Im still working on creating the proper readme for the project. Will update the links once the changes are ready.