mirror of
https://github.com/brianlovin/security-checklist.git
synced 2026-03-11 08:55:31 +00:00
26 lines
597 B
JavaScript
26 lines
597 B
JavaScript
describe('Home', () => {
|
|
before(() => {
|
|
cy.visit('/');
|
|
});
|
|
|
|
it('should render footer', () => {
|
|
cy.get('[data-cy="footer"]')
|
|
.scrollIntoView()
|
|
.should('be.visible');
|
|
|
|
cy.get(`[href="https://github.com/brianlovin/security-checklist"]`).should(
|
|
'be.visible'
|
|
);
|
|
});
|
|
|
|
it('should render header', () => {
|
|
cy.get('[data-cy="header"]')
|
|
.scrollIntoView()
|
|
.should('be.visible');
|
|
|
|
cy.get(`[href="/about"]`).should('be.visible');
|
|
cy.get(`[href="https://github.com/brianlovin/security-checklist"]`).should(
|
|
'be.visible'
|
|
);
|
|
});
|
|
});
|