1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

feat: add blog (#320)

This commit is contained in:
Divlo
2021-11-08 15:10:26 +01:00
parent 1505b81233
commit bcb184e49c
19 changed files with 5002 additions and 256 deletions

View File

@ -1,6 +1,13 @@
describe('Common > Header', () => {
beforeEach(() => cy.visit('/'))
it('should redirect to /blog on click of the blog link', () => {
cy.get('[data-cy=header-blog-link]')
.click()
.location('pathname')
.should('eq', '/blog')
})
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')