Hi,
I have issue with cy.intercept('getitems').as('getItems'), so I can see request that I want to intercept in cypress runner left sidebar before cy.intercept line, but test step fail on
cy.wait('@getItems').then(interception) => {
if (parseInt(JSON.stringify(interception.response?.body.data.itmes[0].item.length))) {
console.log(JSON.stringify(interception))
}
else {
cy.log(JSON.stringify(interception);
}
}