From d6f12b08797192f6fcd725aee48efc817eeb3e8e Mon Sep 17 00:00:00 2001 From: Aadrika Bhargava <64789514+reachaadrika@users.noreply.github.com> Date: Wed, 16 Aug 2023 19:52:51 +0530 Subject: [PATCH] feat: add unit tests for case study card , check render of tools pages & newsletter (#2064) --- components/CaseStudyCard.js | 2 +- cypress/test/CaseStudyCard.cy.js | 23 +++++++++++++++++++ cypress/test/pages/casestudies/index.cy.js | 14 +++++++++++ cypress/test/pages/newsletter/index.cy.js | 12 ++++++++++ cypress/test/pages/tools/cli.cy.js | 12 ++++++++++ cypress/test/pages/tools/generator.cy.js | 13 +++++++++++ cypress/test/pages/tools/github-actions.cy.js | 13 +++++++++++ cypress/test/pages/tools/index.cy.js | 12 ++++++++++ cypress/test/pages/tools/modelina.cy.js | 13 +++++++++++ cypress/test/pages/tools/parsers.cy.js | 13 +++++++++++ pages/casestudies/index.js | 8 +++---- pages/tools/index.js | 2 +- 12 files changed, 131 insertions(+), 6 deletions(-) create mode 100644 cypress/test/CaseStudyCard.cy.js create mode 100644 cypress/test/pages/casestudies/index.cy.js create mode 100644 cypress/test/pages/newsletter/index.cy.js create mode 100644 cypress/test/pages/tools/cli.cy.js create mode 100644 cypress/test/pages/tools/generator.cy.js create mode 100644 cypress/test/pages/tools/github-actions.cy.js create mode 100644 cypress/test/pages/tools/index.cy.js create mode 100644 cypress/test/pages/tools/modelina.cy.js create mode 100644 cypress/test/pages/tools/parsers.cy.js diff --git a/components/CaseStudyCard.js b/components/CaseStudyCard.js index fc741b4c487..861a927ff55 100644 --- a/components/CaseStudyCard.js +++ b/components/CaseStudyCard.js @@ -10,7 +10,7 @@ export default function CaseStudyCard({