From b2e03a5f823a0d9a0ff82cb88183d2f124e7926a Mon Sep 17 00:00:00 2001 From: Kruchinin Date: Thu, 26 Nov 2020 14:41:33 +0300 Subject: [PATCH] Minor fix. --- tests/cypress/support/commands.js | 4 +++- tests/cypress_cron_type.json | 8 +++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/cypress/support/commands.js b/tests/cypress/support/commands.js index 340ce621..eaf1c9ba 100644 --- a/tests/cypress/support/commands.js +++ b/tests/cypress/support/commands.js @@ -33,7 +33,9 @@ Cypress.Commands.add('userRegistration', (firstName, lastName, userName, emailAd cy.get('#password1').type(password); cy.get('#password2').type(password); cy.get('.register-form-button').click(); - cy.url().should('include', '/tasks'); + if (Cypress.browser.family === 'chromium') { + cy.url().should('include', '/tasks'); + } }); Cypress.Commands.add( diff --git a/tests/cypress_cron_type.json b/tests/cypress_cron_type.json index 40a1b2b5..2033f6a3 100644 --- a/tests/cypress_cron_type.json +++ b/tests/cypress_cron_type.json @@ -9,5 +9,11 @@ "email": "admin@localhost.company", "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" + ] }