https://cypress.io logo
if there is no click to redirect, you should write...
# e2e-testing
n
if there is no click to redirect, you should write cy.visit("...") in the first line of the origin function.