Cypress - Element Interactions
Given the code snippet:
What does
cy.scrollTo(0, 500);
cy.get('#footer').should('be.visible');
What does
cy.scrollTo(0, 500) do before checking the footer visibility?