From e91bad5b573237186c08a3e17d66c3d110f8e4bc Mon Sep 17 00:00:00 2001 From: Hyesung Oh Date: Fri, 15 Jul 2022 22:14:18 +0900 Subject: [PATCH] test: e2e blog - root footer --- apps/blog/cypress/e2e/root/footer.spec.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 apps/blog/cypress/e2e/root/footer.spec.tsx diff --git a/apps/blog/cypress/e2e/root/footer.spec.tsx b/apps/blog/cypress/e2e/root/footer.spec.tsx new file mode 100644 index 00000000..dda8e130 --- /dev/null +++ b/apps/blog/cypress/e2e/root/footer.spec.tsx @@ -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'); + }); +});