Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
deadcube04 committed Jun 7, 2024
1 parent 138e16e commit cb64192
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Cypress.Commands.add('DeleteAndCreateAdm', () => {
cy.exec('python test_initiate.py', { failOnNonZeroExit: false })
});

Cypress.Commands.add('CreateClient', (name = "Gustavo Mourato", email = "gustavo.teste@gmail.com") => {
Cypress.Commands.add('CreateClient', (name = "Gustavo Mourato", email = "teste@teste.com") => {
cy.get('#client > a').click()
cy.get('a').click()
cy.get('#toggleAddress').click()
Expand Down Expand Up @@ -53,10 +53,10 @@ Cypress.Commands.add('CreateSolicitation', (product = 'Ventilador', brand = "Mon
Cypress.Commands.add('ClientLogout', () => {
cy.visit('/');
cy.get('#employee > a').click()
cy.get('#logout').click()
cy.get('#logout').click()
})

Cypress.Commands.add('GoToClient', (email = "gustavo.test@gmail.com", password = "GatoLindo") => {
Cypress.Commands.add('GoToClient', (email = "teste@teste.com", password = "GatoLindo") => {
cy.get('#client > a').click()
cy.get('#email').type(email)
cy.get('#password').type(password)
Expand Down

0 comments on commit cb64192

Please sign in to comment.