Is your feature request related to a problem? Please describe.
Currently, while using Webdriverio (Appium) + Cucumber, we need an enhancement on the report in order to add Browserstack public link session so when a test fails (or passes), we are able to review that on testomat's report and be redirected to Browserstack if needed. This way it's much easier to debug a failed test or just check the test execution was fine.
Describe the solution you'd like
Being able to add URL link (or custom message) in testomat's report (either for failed or passed tests).
Describe alternatives you've considered
Currently, in order to temporarily make it work for our needs, I've done the following:
Obtain Browserstack public session URL.
On the WDIO Cucumber "afterStep" hook, I assign the custom message I want (including the Browserstack's URL) to a global var:
const customErrorMessage =\nStep failed: "${step.text}"\n${result.error}\n\nBrowserstack session link: ${publicLink}\n; global.customError = new Error(customErrorMessage);
Then, in addBddScenario from webdriver.js class: const error = global.customError;
Additional context
This is how a failed test looks like after adding the Browserstack URL
Is your feature request related to a problem? Please describe. Currently, while using Webdriverio (Appium) + Cucumber, we need an enhancement on the report in order to add Browserstack public link session so when a test fails (or passes), we are able to review that on testomat's report and be redirected to Browserstack if needed. This way it's much easier to debug a failed test or just check the test execution was fine.
Describe the solution you'd like Being able to add URL link (or custom message) in testomat's report (either for failed or passed tests).
Describe alternatives you've considered Currently, in order to temporarily make it work for our needs, I've done the following:
const customErrorMessage =
\nStep failed: "${step.text}"\n${result.error}\n\nBrowserstack session link: ${publicLink}\n; global.customError = new Error(customErrorMessage);
addBddScenario
from webdriver.js class:const error = global.customError;
Additional context This is how a failed test looks like after adding the Browserstack URL