cy.visit('/')
.get('something')
.click()
.then(subject => {
debugger;
return subject;
})
...
if (window.Cypress) {
// do stuff that only executes in Cypress here
}
Created with 📕TILed
cy.visit('/')
.get('something')
.click()
.then(subject => {
debugger;
return subject;
})
...
if (window.Cypress) {
// do stuff that only executes in Cypress here
}
Created with 📕TILed