diff --git a/cypress/e2e/homepage.cy.ts b/cypress/e2e/homepage.cy.ts index 80656cf..e62f0fe 100644 --- a/cypress/e2e/homepage.cy.ts +++ b/cypress/e2e/homepage.cy.ts @@ -8,7 +8,7 @@ describe("Homepage", () => { it("should display the homepage", () => { cy.title().should("include", "TechIsHiring"); cy.get("header").should("be.visible"); - cy.get('.sticky > :nth-child(1) > a > .chakra-text').contains('TechIsHiring'); + cy.get('.sticky > :nth-child(1) > a > .chakra-heading').contains('TechIsHiring'); cy.get('header > div > nav > ul').should('be.visible'); validateFooter('desktop')