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

Execution get stuck when using context.Skip() with allure #51

Closed
suniljaiswal01 opened this issue Feb 17, 2021 · 2 comments
Closed

Execution get stuck when using context.Skip() with allure #51

suniljaiswal01 opened this issue Feb 17, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@suniljaiswal01
Copy link

suniljaiswal01 commented Feb 17, 2021

Describe the bug
When Adding context.skip to spec file and keeping allure=true in the config, the execution is getting stuck and not getting terminate. Below is the screenshot for the same:
image

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repo https:/Shelex/cypress-allure-plugin-example
  2. Update contextto context.skip in action.spec.js file
  3. Run the command "yarn cy:run"

Expected behavior
Testcase should get skip and execution should be completed

Environment (please complete the following information):

  • Cypress version: 6.2.0
  • OS: Windows 10

** Developer Tools Console Output **

Additional context
Add any other context about the problem here.

@suniljaiswal01 suniljaiswal01 added the bug Something isn't working label Feb 17, 2021
@suniljaiswal01 suniljaiswal01 changed the title Execution get stuck when using Describe.Skip() with allure Execution get stuck when using context.Skip() with allure Feb 17, 2021
@suniljaiswal01
Copy link
Author

If we add allure=false in the command and then run, then it is skipping the test properly and execution is getting completed

@Shelex
Copy link
Owner

Shelex commented Feb 17, 2021

@suniljaiswal01
Fixed in v2.3.4
However, there is no possibility to write allure results for skipped suite, as cypress cannot execute cy.task in such case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants