Skip to content

Commit

Permalink
Update forgotpassword.cy.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarfraz-droid authored Jul 12, 2023
1 parent a2e8da5 commit 401c5e0
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ describe("Forgot Password Page | CodeLabz", () => {

it("empty email ", function () {
cy.visit(`${this.base_url}forgotpassword`);
cy.get("[data-testId=forgotPasswordButton]").click();
cy.contains("The email address is badly formatted.");
cy.should('be.disabled')
cy.get("[data-testId=forgotPasswordButton]").should('be.disabled');
});
it("successfull ", function () {
cy.visit(`${this.base_url}forgotpassword`);
Expand Down

0 comments on commit 401c5e0

Please sign in to comment.