cypress-react-selector icon indicating copy to clipboard operation
cypress-react-selector copied to clipboard

Option to suppress cy.log in getProps and getCurrentState

Open splinecl opened this issue 1 year ago • 0 comments

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 avatar Jun 30 '23 08:06 splinecl