-
Notifications
You must be signed in to change notification settings - Fork 27
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
Showing
68 changed files
with
515 additions
and
4,901 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
describe("auth ui checks", () => { | ||
beforeEach(() => { | ||
cy.visit("http://localhost:9000/"); | ||
}); | ||
|
||
it("check the components in the login page", () => { | ||
cy.url().should("include", "/login"); | ||
cy.get("#card-header").should("contain", "Hey there, Welcome back!"); | ||
cy.get("#card-subtitle").should("contain", "Sign up"); | ||
cy.get("#auth-submit-btn").should("exist"); | ||
cy.get("#tc-text").should("exist"); | ||
cy.get("#footer").should("exist"); | ||
}); | ||
|
||
it("check the components in the sign up page", () => { | ||
cy.get("#card-subtitle").click(); | ||
cy.url().should("include", "/register"); | ||
cy.get("#card-header").should("contain", "Welcome to Hyperswitch"); | ||
cy.get("#card-subtitle").should("contain", "Sign in"); | ||
cy.get("#auth-submit-btn").should("exist"); | ||
cy.get("#tc-text").should("exist"); | ||
cy.get("#footer").should("exist"); | ||
}); | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.