When we use karate with cucumber reporting, the steps we see in the report are technical For example:
@mobile
Scenario: test login
Given driver { webDriverSession: { desiredCapabilities : "#(android.desiredConfig)"} }
And retry(2, 2000).waitFor("//android.widget.TextView[@text='Comenzar']").click()
And retry(2, 1000).waitFor("//android.widget.TextView[@text='Ingresar a mi cuenta']").click()
....
with resulting report: report
The problem with the report, it is showing technical info, which is useless for business or non techincal people.
Is there a way to customize the Step text in order to get a meaningful info?
Something like:
@mobile
Scenario: test login
Given driver { webDriverSession: { desiredCapabilities : "#(android.desiredConfig)"} } // When I launch app
And retry(2, 2000).waitFor("//android.widget.TextView[@text='Comenzar']").click() // And click on button
And retry(2, 1000).waitFor("//android.widget.TextView[@text='Ingresar a mi cuenta']").click() // And click on button ..
....