Skip to content

Commit

Permalink
test: e2e blog - root footer
Browse files Browse the repository at this point in the history
  • Loading branch information
hyesungoh committed Jul 15, 2022
1 parent c8fff88 commit e91bad5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions apps/blog/cypress/e2e/root/footer.spec.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
describe('root - footer', () => {
it('should render footer', () => {
cy.visit('/');
cy.scrollTo('bottom');
cy.get('footer').should('exist').and('be.visible');
});

it('should have anchor at footer', () => {
cy.get('footer').find('a').should('exist');
});
});

0 comments on commit e91bad5

Please sign in to comment.