describe('removed contact page', () => {
  it('redirects direct contact visits to the homepage', () => {
    cy.visit('/contact')

    cy.location('pathname').should('eq', '/')
    cy.get('[data-cy="contact-hero"]').should('not.exist')
    cy.get('header.site-header').within(() => {
      cy.contains('a', 'Contact').should('not.exist')
    })
  })
})
