Closed isaac-tribal closed 1 year ago
This plugin currently works based on appium session-id. For pending tests session-id won't be created at all hence they won't appear in report.
Having said that, this is functionally a valid request. Need to refactor the plugin to accommodate this.
Added Pending and Unknown states to test report
Having said that, this plugin just picks the test status that's sent to it via POST: /session/:sessionId/setTestInfo
. For skipped tests, it's upon the tests to call POST: /session/:sessionId/setTestInfo
and pass info. As mentioned in the documentation test status are "PASSED, FAILED, PENDING, All other strings are considered as UNKNOWN"
@isaac-tribal ^^
Its worth to add in ReadMe how to use this endpoint from client
check the following section mate, https://github.com/AppiumTestDistribution/appium-reporter-plugin#settestinfo
let me know if we can anything more.
Appium client log:
Report: