webdriverio-boneyard / wdio-cucumber-framework

A WebdriverIO v4 plugin. Adapter for Cucumber testing framework.
MIT License
77 stars 61 forks source link

Feature/enrich reporter #136

Closed wswebcreation closed 6 years ago

wswebcreation commented 6 years ago

This PR adds extra data to the the events

This makes a report look from

image

image

to image

image

The additions can also be used and implemented in the wdio-allure-reporter to make it more readable

wswebcreation commented 6 years ago

@christian-bromann

I didn't add extra testcases because I must say I don't understand where in the reporter.spec.js file to add it. It's quite complex (kinda confused about it). Do you know, or do you know someone who can help me with that so the additions can also be covered?

wswebcreation commented 6 years ago

Can someone take a look at this?

christian-bromann commented 6 years ago

It's quite complex (kinda confused about it).

Yes, I wanted to make sure that things run properly synchronous (or asynchronous). It became quite huge. In v5 this is all tested more maturely.

christian-bromann commented 6 years ago

wdio-cucumber-framework 2.2.0 published 🎉

wswebcreation commented 6 years ago

@christian-bromann

Tnx!!! Now I can fix my reporter and make a new reporter for webdriver.io next to Allure 🎉 😄