test browser branding
This commit is contained in:
parent
7ebffd18b3
commit
89cc8a55e3
1 changed files with 9 additions and 0 deletions
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue