https://cypress.io logo
I believe you are aware of the Cypress chaining an...
# e2e-testing
a
I believe you are aware of the Cypress chaining and the nature the code call happens in cypress. I suggest you relook the way you are calling or call this within cy.then() and see if that solves the problem