mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-05-29 22:37:44 +02:00
test(e2e): header should always be visible (sticky)
This commit is contained in:
@ -8,6 +8,10 @@ describe('Common > Header', () => {
|
||||
.should('eq', '/blog')
|
||||
})
|
||||
|
||||
it('should always be visible (sticky header)', () => {
|
||||
cy.scrollTo('bottom').get('header').should('be.visible')
|
||||
})
|
||||
|
||||
describe('Switch theme color (dark/light)', () => {
|
||||
it('should switch theme from `dark` (default) to `light`', () => {
|
||||
cy.get('[data-cy=switch-theme-dark]').should('be.visible')
|
||||
|
Reference in New Issue
Block a user