Minor fix.

main
Kruchinin 5 years ago
parent 4202c8195b
commit b2e03a5f82

@ -33,7 +33,9 @@ Cypress.Commands.add('userRegistration', (firstName, lastName, userName, emailAd
cy.get('#password1').type(password); cy.get('#password1').type(password);
cy.get('#password2').type(password); cy.get('#password2').type(password);
cy.get('.register-form-button').click(); cy.get('.register-form-button').click();
cy.url().should('include', '/tasks'); if (Cypress.browser.family === 'chromium') {
cy.url().should('include', '/tasks');
}
}); });
Cypress.Commands.add( Cypress.Commands.add(

@ -9,5 +9,11 @@
"email": "admin@localhost.company", "email": "admin@localhost.company",
"password": "12qwaszx" "password": "12qwaszx"
}, },
"testFiles": ["auth_page.js", "actions_tasks_objects/*", "actions_users/*", "email_system/*", "remove_users_tasks.js"] "testFiles": [
"auth_page.js",
"actions_tasks_objects/*",
"actions_users/*",
"email_system/*",
"remove_users_tasks_projects.js"
]
} }

Loading…
Cancel
Save