Answers for "a cypress command to refresh the whole page"

0

a cypress command to refresh the whole page

cy.visit('http://localhost:3000/admin')
cy.get('#undo-btn').click().should('not.be.visible')
cy.reload()
cy.get('#undo-btn').click().should('not.be.visible')
Posted by: Guest on March-07-2022

Browse Popular Code Answers by Language