expect-webdriverio icon indicating copy to clipboard operation
expect-webdriverio copied to clipboard

Report assertions

Open christian-bromann opened this issue 5 years ago • 2 comments

In order to better understand what has been asserted it would be super helpful if the library could report every assertion so that the consumer (WebdriverIO) can use this to enrich its reporting capabilities.

christian-bromann avatar Mar 31 '20 17:03 christian-bromann

Can you please add some more details?

The assertion lib should send some event to the wdio reporter, then specific reporter (ex allure) can listen for such events and add assertions like steps?

mgrybyk avatar Sep 02 '20 12:09 mgrybyk

The assertion lib should send some event to the wdio reporter, then specific reporter (ex allure) can listen for such events and add assertions like steps?

Correct. Maybe we can expose an eventlistener that allows reporter to receive assertion events and include them in their reports.

christian-bromann avatar Mar 10 '22 09:03 christian-bromann