-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
01bfa3d
commit 6a28d67
Showing
5 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,17 +73,17 @@ describe('Login user flow', () => { | |
.eq(1).type('654321') | ||
.get('.sign-in-button') | ||
.click() | ||
.get('.error-message') | ||
.get('.error-message-login') | ||
.should('have.text', 'Username or password is incorrect') | ||
|
||
cy.get('.sign-in-button').click() | ||
.get('.error-message') | ||
.get('.error-message-login') | ||
.should('have.text', 'You are missing a required parameter of email') | ||
|
||
cy.get('input') | ||
.eq(0).type('[email protected]') | ||
.get('.sign-in-button').click() | ||
.get('.error-message') | ||
.get('.error-message-login') | ||
.should('have.text', 'You are missing a required parameter of password') | ||
|
||
cy.get('.close-button').click() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters