import "./commands" ; Cypress . Commands . add ( "dataCy" , value => { return cy . get ( `[data-cy=${ value }]` ) ; } ) ; Cypress . on ( "uncaught:exception" , ( err , runnable ) => { return false ; } ) ; Cypress . Screenshot . defaults ( { screenshotOnRunFailure : false , } ) ;