Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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')
Source by docs.cypress.io #
 
PREVIOUS NEXT
Tagged: #cypress #command #refresh #page
ADD COMMENT
Topic
Name
2+9 =