Use cy.get(selector).should('be.visible') to assert that an element is visible on the page.