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

Option to suppress cy.log in getProps and getCurrentState #437

Open
splinecl opened this issue Jun 30, 2023 · 0 comments
Open

Option to suppress cy.log in getProps and getCurrentState #437

splinecl opened this issue Jun 30, 2023 · 0 comments

Comments

@splinecl
Copy link

splinecl commented Jun 30, 2023

We have some cases where the objets on props and state are so large and deep, that getProps and getCurrentState gets tripped up when trying to log the objects to the command log using cy.log.

It would be useful for us if it would be possible to supply an extra parameter to getProps and getCurrentState that lets you suppress the logging of the state or props object to the command log.

@splinecl splinecl changed the title Option to supress cy.log in getProps and getCurrentState Option to suppress cy.log in getProps and getCurrentState Jun 30, 2023
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

1 participant