Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Support Nested steps #125

Open
breinjhel opened this issue Jul 4, 2018 · 9 comments
Open

Support Nested steps #125

breinjhel opened this issue Jul 4, 2018 · 9 comments

Comments

@breinjhel
Copy link

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.

@christian-bromann
Copy link
Contributor

Is there any way I can have nested steps?

What do you mean by that?

@breinjhel
Copy link
Author

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

@breinjhel
Copy link
Author

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

@BorisOsipov
Copy link
Contributor

Is there any way I can have nested steps?

No there is now way no.

@ybilevych
Copy link

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

@BorisOsipov
Copy link
Contributor

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

@kimek
Copy link

kimek commented Jan 9, 2019

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

@BorisOsipov
Copy link
Contributor

@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.

@brownad
Copy link

brownad commented Aug 28, 2019

Is there a way to benefit from recent fixes over here?
allure-framework/allure-js@ab47cdd

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants