Skip to content

Commit

Permalink
Login cypress test with ip server
Browse files Browse the repository at this point in the history
  • Loading branch information
suissa committed Jan 16, 2024
1 parent f557df1 commit b27d62d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/integrations/login.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
describe("Página de Login", () => {
it("deve logar com sucesso", () => {
cy.visit("http://137.184.81.207:3000/login");
cy.get("input[type='email']").type("a@a.com");
cy.get("input[type='password']").type("a");
cy.get("input[type='email']").type("admin@admin.com");
cy.get("input[type='password']").type("admin");
cy.get("button").contains("Entrar").click();
cy.url().should("include", "/");

Expand Down

0 comments on commit b27d62d

Please sign in to comment.