Browse Source

chore(cypress): update credentials

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/510/head
Pranav C 3 years ago
parent
commit
0b4872ac2b
  1. 4
      cypress/support/commands.js

4
cypress/support/commands.js

@ -49,13 +49,13 @@ Cypress.Commands.add('signinOrSignup', () => {
cy.wait(8000);
cy.get('body').trigger('mousemove');
cy.contains('Let\'s Begin').click();
cy.get('input[type="text"]', {timeout: 12000}).type('pranavc@gmail.com');
cy.get('input[type="text"]', {timeout: 12000}).type('user@nocodb.com');
cy.get('input[type="password"]').type('Password123.');
cy.get('button:contains("SIGN UP")').click()
// handle signin
} else {
cy.get('input[type="text"]').type('pranavc@gmail.com');
cy.get('input[type="text"]').type('user@nocodb.com');
cy.get('input[type="password"]').type('Password123.');
cy.get('button:contains("SIGN IN")').click()
}

Loading…
Cancel
Save