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') diff --git a/frontend/website/index.html b/frontend/website/index.html index 9e5fc8f..ca72e36 100644 --- a/frontend/website/index.html +++ b/frontend/website/index.html @@ -2,9 +2,9 @@ - + - Vite App + Attainly
diff --git a/frontend/website/public/favicon.ico b/frontend/website/public/favicon.ico deleted file mode 100644 index df36fcf..0000000 Binary files a/frontend/website/public/favicon.ico and /dev/null differ diff --git a/frontend/website/public/favicon.svg b/frontend/website/public/favicon.svg new file mode 100644 index 0000000..3d796bf --- /dev/null +++ b/frontend/website/public/favicon.svg @@ -0,0 +1,15 @@ + + + + +