-
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
1 parent
dfb4ddb
commit b6698fe
Showing
5 changed files
with
226 additions
and
189 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
describe.only("Processors Landing Module", () => { | ||
beforeEach(() => { | ||
cy.visit("http://localhost:9000/"); | ||
}); | ||
it("should successfully log in with valid credentials", () => { | ||
cy.get("[data-testid=email]").type("[email protected]"); | ||
cy.get("[data-testid=password]").type("Jeeva12#"); | ||
cy.get('button[type="submit"]').click({ force: true }); | ||
cy.get("[data-testid=processors]").click({ force: true }); | ||
cy.url().should("eq", "http://localhost:9000/connectors"); | ||
cy.contains("Processors").should("be.visible"); | ||
cy.contains( | ||
"Connect and manage payment processors to enable payment acceptance", | ||
).should("be.visible"); | ||
cy.contains("Connect a new connector").should("be.visible"); | ||
cy.get("[data-testid=search-processor]") | ||
.type("stripe", { force: true }) | ||
.should("have.value", "stripe"); | ||
}); | ||
}); |
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
Oops, something went wrong.