Skip to content

Commit

Permalink
Initial Commit for input type change
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-rezinkin committed Oct 9, 2021
1 parent 938b994 commit 08f73e2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ Cypress.Commands.add('signinOrSignup', (_args) => {
cy.wait(8000);
cy.get('body').trigger('mousemove');
cy.contains('Let\'s Begin').click();
cy.get('input[type="text"]', { timeout: 12000 }).type(args.username);
cy.get('input[type="email"]', { timeout: 12000 }).type(args.username);
cy.get('input[type="password"]').type(args.password);
cy.get('button:contains("SIGN UP")').click()

// handle signin
} else {
cy.get('input[type="text"]', { timeout: 12000 }).type(args.username);
cy.get('input[type="email"]', { timeout: 12000 }).type(args.username);
cy.get('input[type="password"]').type(args.password);
cy.get('button:contains("SIGN IN")').click()
}
Expand Down
2 changes: 1 addition & 1 deletion cypress/support/page_objects/mainPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class _mainPage {

// Redirected to new URL, feed details
//
cy.get('input[type="text"]').type(userCred.username)
cy.get('input[type="email"]').type(userCred.username)
cy.get('input[type="password"]').type(userCred.password)
cy.get('button:contains("SIGN UP")').click()

Expand Down
4 changes: 2 additions & 2 deletions cypress/support/page_objects/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class _loginPage {
signIn(userCredentials) {
this.go(urlPool.ncUrlSignIn)

cy.get('input[type="text"]', {timeout: 6000}).type(userCredentials.username)
cy.get('input[type="email"]', {timeout: 6000}).type(userCredentials.username)
cy.get('input[type="password"]').type(userCredentials.password)
cy.get('button:contains("SIGN IN")').click()

Expand All @@ -38,7 +38,7 @@ export class _loginPage {
signUp(userCredentials) {
this.go(urlPool.ncUrlSignUp)

cy.get('input[type="text"]', {timeout: 6000}).type(userCredentials.username)
cy.get('input[type="email"]', {timeout: 6000}).type(userCredentials.username)
cy.get('input[type="password"]').type(userCredentials.password)
cy.get('button:contains("SIGN UP")').click()

Expand Down
2 changes: 1 addition & 1 deletion packages/nocodb/src/lib/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ <h2 class="my-5 title grey--text text--darken-2">Instant APIs on any Database</h
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true">
<input
type="text"
type="email"
name="b_34a5d2680bab8825d485af859_f04c6c8b8d"
tabindex="-1" value=""></div>

Expand Down

0 comments on commit 08f73e2

Please sign in to comment.