diff --git a/frontend/website/cypress/e2e/guest-auth.cy.ts b/frontend/website/cypress/e2e/guest-auth.cy.ts index f4c1ba8..2dea54b 100644 --- a/frontend/website/cypress/e2e/guest-auth.cy.ts +++ b/frontend/website/cypress/e2e/guest-auth.cy.ts @@ -8,6 +8,15 @@ describe('guest authentication pages', () => { cy.contains('a', 'Get started').should('have.attr', 'href', '/signup') }) + it('uses Attainly browser metadata', () => { + cy.visit('/') + + cy.title().should('equal', 'Attainly') + cy.get('link[rel="icon"]') + .should('have.attr', 'type', 'image/svg+xml') + .and('have.attr', 'href', '/favicon.svg') + }) + it('redirects guests away from the protected dashboard', () => { cy.visit('/dashboard')