title: In cypress, how do I wait for a page to load?
body: <p>Don't tell anyone, but our app is not yet single-page. I can <a href="https://docs.cypress.io/api/commands/wait.html#Alias" rel="noreferrer">wait on a given XHR request</a> by giving the route an alias, but <strong>how do I wait until some navigation completes and the browser is safely on a new page?</strong></p>