mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-12 00:55:34 +00:00
22 lines
443 B
JavaScript
22 lines
443 B
JavaScript
describe('Homepage rendering', () => {
|
|
beforeEach(() => {
|
|
cy.visit("/")
|
|
});
|
|
|
|
it("Footer contains promo", () => {
|
|
cy.get('footer').contains("OliveTin")
|
|
})
|
|
|
|
it('Default buttons are rendered', () => {
|
|
cy.get("#root-group button").should('have.length', 6)
|
|
})
|
|
|
|
it('Switcher navigation is visible', () => {
|
|
cy.get('#section-switcher').then($el => {
|
|
expect(Cypress.dom.isHidden($el)).to.be.false
|
|
})
|
|
})
|
|
});
|
|
|
|
|