Skip to content

Commit

Permalink
Merge pull request #133 from turingschool/bug/fix-failing-test
Browse files Browse the repository at this point in the history
Add space to expected result of test
  • Loading branch information
bwillett2003 authored Feb 20, 2025
2 parents 02b874e + 35c0970 commit 9bebfe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/loginSpec.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ describe('testing for Login page', () => {
cy.get("#email").type("[email protected]")
cy.get("#password").type("jerseyMikesRox7")
cy.get('[data-testid="login-button"]').click();
cy.get("h1").should("have.text", "Welcome,Danny DeVito");
cy.get("h1").should("have.text", "Welcome, Danny DeVito");
cy.reload();
cy.get("h1").should("have.text", "Welcome,Danny DeVito");
cy.get("h1").should("have.text", "Welcome, Danny DeVito");
})
});

0 comments on commit 9bebfe0

Please sign in to comment.