Closed woolter closed 5 years ago
@christian-bromann This is the issue i was talking about in ticket https://github.com/webdriverio/webdriverio/issues/3074
The issue is seen in the latest wdio-cucumber-framework
.
This issue is not in the version wdio-cucumber-framework: 1.0.3
. I have a project and confirmed.
I have created a sample git project for you to reproduce the isuse: https://github.com/NaveenThiyagarajan/wdio_cuke_hookIssue.git
Thanks. Naveen
@NaveenThiyagarajan see my comment in https://github.com/webdriverio/webdriverio/issues/3068#issuecomment-444011064
it will help you.
Thanks @BorisOsipov I tried using the cucumber default hooks
After(() => {
if(Status.FAILED === 'failed'){
browser.screenshot().value;
console.log('Screenshot taken');
}
});
... But the allure-reporter was acting up weird with that .. :( it was showing skipped tests as passed
.
... But the allure-reporter was acting up weird with that .. :( it was showing skipped tests as passed.
I haven't seen such issue in allure repo...
... But the allure-reporter was acting up weird with that .. :( it was showing skipped tests as passed.
I haven't seen such issue in allure repo...
Ok .. I got it.. It fixed once i moved to 0.8.3
allure-reporter. Thank you.. good for now.
With this configuration
I hope to obtain this:
But sometimes I obtain this: with image created
And sometimes this: without create image