Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested steps #10

Closed
yannay000 opened this issue Jun 3, 2020 · 1 comment
Closed

Nested steps #10

yannay000 opened this issue Jun 3, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@yannay000
Copy link

Current behavior:
When I write cy.allure().step("step_name",true), the new step starts.
All steps go one after another in the report.

Desired behavior:
It would be wonderful to have ability to start new step within another step.
For example:

cy.allure().startStep("parent_step")

  • cy.allure().startStep("first_child_step")

  • ...

  • cy.allure().endStep()

  • cy.allure().startStep("second_child_step")

  • ...

  • cy.allure().endStep()

cy.allure().endStep()

@yannay000 yannay000 added the enhancement New feature or request label Jun 3, 2020
@Shelex
Copy link
Owner

Shelex commented Jul 12, 2020

@yannay000 Just released v1.7.0 where such feature is implemented. Moreover, clarified how to create own steps in documentation section: Cypress commands. Could you please check it with your specific case?

@Shelex Shelex closed this as completed Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants