Skip to content

Commit

Permalink
edit cypress e2e testing for heading vs text
Browse files Browse the repository at this point in the history
  • Loading branch information
yiremorlans committed Jun 25, 2023
1 parent 731046c commit bd7b9bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/homepage.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit bd7b9bd

Please sign in to comment.