wdio-allure-reporter icon indicating copy to clipboard operation
wdio-allure-reporter copied to clipboard

Support Nested steps

Open breinjhel opened this issue 6 years ago • 9 comments

Hi,

Is there any way I can have nested steps? Im creating steps after each wdio commands and I want to have attachments, screenshots, or more steps attached to each of those steps.

Thanks.

breinjhel avatar Jul 04 '18 17:07 breinjhel

Is there any way I can have nested steps?

What do you mean by that?

christian-bromann avatar Jul 04 '18 18:07 christian-bromann

Have something like this as test steps: https://www.screencast.com/t/McQImZ4q

breinjhel avatar Jul 04 '18 18:07 breinjhel

Like how each steps are layered and I can even add attachments at any layer

breinjhel avatar Jul 04 '18 18:07 breinjhel

Is there any way I can have nested steps?

No there is now way no.

BorisOsipov avatar Jul 09 '18 21:07 BorisOsipov

From what I understand, allure-js-commons supports this via its Allure.prototype.startStep and Allure.prototype.endStep. My proposal to build some method decorator, similarly to what is done in Java with annotations

ybilevych avatar Oct 19 '18 10:10 ybilevych

@ybilevych feel free to propose PR, but before describe here how wdio-allure-reporter api will look like.

BorisOsipov avatar Oct 19 '18 11:10 BorisOsipov

btw somebody ask this question on allure for wdio https://github.com/allure-framework/allure-js-commons/issues/21. If I will have more time I will try to look into it too

kimek avatar Jan 09 '19 13:01 kimek

@kimek I would suggest you to think how implement it for v5 reporter version if you want this. This repo is obsolete and anyway we will ask to port any changes here to v5 before merging.

BorisOsipov avatar Jan 09 '19 14:01 BorisOsipov

Is there a way to benefit from recent fixes over here? https://github.com/allure-framework/allure-js/commit/ab47cddb012c00cfd1c81018fb6a2b13a3732e66

brownad avatar Aug 28 '19 10:08 brownad