test browser branding

This commit is contained in:
Yisroel Baum 2026-07-31 10:51:33 +03:00
parent 7ebffd18b3
commit 89cc8a55e3
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -8,6 +8,15 @@ describe('guest authentication pages', () => {
cy.contains('a', 'Get started').should('have.attr', 'href', '/signup') 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', () => { it('redirects guests away from the protected dashboard', () => {
cy.visit('/dashboard') cy.visit('/dashboard')