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

Is it possible to turn off the after each hook log? #239

Closed
triori opened this issue Mar 26, 2024 · 2 comments
Closed

Is it possible to turn off the after each hook log? #239

triori opened this issue Mar 26, 2024 · 2 comments

Comments

@triori
Copy link

triori commented Mar 26, 2024

https://github.com/triori/badeball_cypress-if

This is a small repo with three of useless test.
The modules and structure used are the same as in my work project.
You can run it like npx cypress run and at the end of failed test log you can see

cy:command ✔  task        cypress-cucumber-preprocessor:test-step-finished, Object{4}
cy:command ✔  task        cypress-cucumber-preprocessor:test-case-finished, Object{3}
314367661-c0cc9215-ba98-4615-a4ac-6d77877ffa9f

I don't use any afterEach hooks or something like that. Can I turn off this logs?

@archfz
Copy link
Owner

archfz commented Mar 26, 2024

Those are not afterEach hook logs. Those seem standard logs from the cucumber preprocessor. I would presume the same logs also appear in the cypress UI. Please consult the documentation on https://github.com/badeball/cypress-cucumber-preprocessor?tab=readme-ov-file if there is any way to turn that log off. If not you will have to open an issue on their side.

@triori
Copy link
Author

triori commented Mar 28, 2024

I opened the same issue in Bahmutov cypress-if repo, maybe it will be useful for community. bahmutov/cypress-if#69
Just in case ;)

@triori triori closed this as completed Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants