diff --git a/tests/cypress/latest/e2e/unit_tests/advanced_filtering.spec.ts b/tests/cypress/latest/e2e/unit_tests/advanced_filtering.spec.ts index f84e68e6d..9776a586a 100644 --- a/tests/cypress/latest/e2e/unit_tests/advanced_filtering.spec.ts +++ b/tests/cypress/latest/e2e/unit_tests/advanced_filtering.spec.ts @@ -16,10 +16,6 @@ import '~/support/commands'; import filterTests from '~/support/filterTests.js'; import * as cypressLib from '@rancher-ecp-qa/cypress-library'; import { qase } from 'cypress-qase-reporter/dist/mocha'; -import { slowCypressDown } from 'cypress-slow-down'; - -// Slow down each command by 500ms -slowCypressDown(500); filterTests(['main'], () => { describe('Advanced filtering testing', () => { diff --git a/tests/cypress/latest/e2e/unit_tests/deploy_app.spec.ts b/tests/cypress/latest/e2e/unit_tests/deploy_app.spec.ts index ed982dac6..e8c5835f2 100644 --- a/tests/cypress/latest/e2e/unit_tests/deploy_app.spec.ts +++ b/tests/cypress/latest/e2e/unit_tests/deploy_app.spec.ts @@ -16,12 +16,8 @@ import '~/support/commands'; import filterTests from '~/support/filterTests.js'; import * as cypressLib from '@rancher-ecp-qa/cypress-library'; import { qase } from 'cypress-qase-reporter/dist/mocha'; -import { slowCypressDown } from 'cypress-slow-down'; import { isRancherManagerVersion } from '../../support/utils'; -// Slow down each command by 500ms -slowCypressDown(500) - filterTests(['main'], () => { describe('Deploy application in fresh Elemental Cluster', () => { const clusterName = 'mycluster'; diff --git a/tests/cypress/latest/e2e/unit_tests/elemental_operator.spec.ts b/tests/cypress/latest/e2e/unit_tests/elemental_operator.spec.ts index 0d12ec920..957163ad8 100644 --- a/tests/cypress/latest/e2e/unit_tests/elemental_operator.spec.ts +++ b/tests/cypress/latest/e2e/unit_tests/elemental_operator.spec.ts @@ -18,10 +18,6 @@ import * as cypressLib from '@rancher-ecp-qa/cypress-library'; import { qase } from 'cypress-qase-reporter/dist/mocha'; import { isCypressTag, isOperatorVersion, isRancherManagerVersion } from '~/support/utils'; import { Elemental } from '~/support/elemental'; -import { slowCypressDown } from 'cypress-slow-down'; - -// Slow down each command by 500ms -slowCypressDown(500); filterTests(['main', 'upgrade'], () => { describe('Install Elemental Operator', () => { diff --git a/tests/cypress/latest/e2e/unit_tests/elemental_plugin.spec.ts b/tests/cypress/latest/e2e/unit_tests/elemental_plugin.spec.ts index 7b4bf4938..e48ae707f 100644 --- a/tests/cypress/latest/e2e/unit_tests/elemental_plugin.spec.ts +++ b/tests/cypress/latest/e2e/unit_tests/elemental_plugin.spec.ts @@ -17,10 +17,6 @@ import filterTests from '~/support/filterTests.js'; import { isRancherManagerVersion, isUIVersion } from '../../support/utils'; import * as cypressLib from '@rancher-ecp-qa/cypress-library'; import { qase } from 'cypress-qase-reporter/dist/mocha'; -import { slowCypressDown } from 'cypress-slow-down'; - -// Slow down each command by 500ms -slowCypressDown(500) filterTests(['main', 'upgrade'], () => { Cypress.config(); diff --git a/tests/cypress/latest/e2e/unit_tests/first_connection.spec.ts b/tests/cypress/latest/e2e/unit_tests/first_connection.spec.ts index 2cd877f56..553fdb0a1 100644 --- a/tests/cypress/latest/e2e/unit_tests/first_connection.spec.ts +++ b/tests/cypress/latest/e2e/unit_tests/first_connection.spec.ts @@ -16,7 +16,6 @@ import filterTests from '~/support/filterTests.js'; import * as cypressLib from '@rancher-ecp-qa/cypress-library'; import { qase } from 'cypress-qase-reporter/dist/mocha'; - filterTests(['main', 'upgrade'], () => { Cypress.config(); describe('First login on Rancher', () => { diff --git a/tests/cypress/latest/e2e/unit_tests/machine_inventory.spec.ts b/tests/cypress/latest/e2e/unit_tests/machine_inventory.spec.ts index 1ad462608..281e71644 100644 --- a/tests/cypress/latest/e2e/unit_tests/machine_inventory.spec.ts +++ b/tests/cypress/latest/e2e/unit_tests/machine_inventory.spec.ts @@ -17,10 +17,6 @@ import filterTests from '~/support/filterTests.js'; import * as utils from '~/support/utils'; import * as cypressLib from '@rancher-ecp-qa/cypress-library'; import { qase } from 'cypress-qase-reporter/dist/mocha'; -import { slowCypressDown } from 'cypress-slow-down'; - -// Slow down each command by 500ms -slowCypressDown(500); Cypress.config(); describe('Machine inventory testing', () => { diff --git a/tests/cypress/latest/e2e/unit_tests/machine_registration.spec.ts b/tests/cypress/latest/e2e/unit_tests/machine_registration.spec.ts index 9b1f63257..18b911397 100644 --- a/tests/cypress/latest/e2e/unit_tests/machine_registration.spec.ts +++ b/tests/cypress/latest/e2e/unit_tests/machine_registration.spec.ts @@ -17,10 +17,6 @@ import filterTests from '~/support/filterTests.js'; import * as utils from '~/support/utils'; import * as cypressLib from '@rancher-ecp-qa/cypress-library'; import { qase } from 'cypress-qase-reporter/dist/mocha'; -import { slowCypressDown } from 'cypress-slow-down'; - -// Slow down each command by 500ms -slowCypressDown(500); Cypress.config(); describe('Machine registration testing', () => { diff --git a/tests/cypress/latest/e2e/unit_tests/machine_selector.spec.ts b/tests/cypress/latest/e2e/unit_tests/machine_selector.spec.ts index 4a62b827d..0d2ac12d1 100644 --- a/tests/cypress/latest/e2e/unit_tests/machine_selector.spec.ts +++ b/tests/cypress/latest/e2e/unit_tests/machine_selector.spec.ts @@ -17,10 +17,6 @@ import '~/support/commands'; import filterTests from '~/support/filterTests.js'; import * as cypressLib from '@rancher-ecp-qa/cypress-library'; import { qase } from 'cypress-qase-reporter/dist/mocha'; -import { slowCypressDown } from 'cypress-slow-down'; - -// Slow down each command by 500ms -slowCypressDown(500); filterTests(['main'], () => { describe('Machine selector testing', () => { diff --git a/tests/cypress/latest/e2e/unit_tests/os_version.spec.ts b/tests/cypress/latest/e2e/unit_tests/os_version.spec.ts index b5ebabc92..96a70bc14 100644 --- a/tests/cypress/latest/e2e/unit_tests/os_version.spec.ts +++ b/tests/cypress/latest/e2e/unit_tests/os_version.spec.ts @@ -15,12 +15,8 @@ limitations under the License. import '~/support/commands'; import filterTests from '~/support/filterTests.js'; import * as cypressLib from '@rancher-ecp-qa/cypress-library'; -import { slowCypressDown } from 'cypress-slow-down'; import { isRancherManagerVersion } from '~/support/utils'; -// Slow down each command by 500ms -slowCypressDown(500); - filterTests(['main'], () => { Cypress.config(); diff --git a/tests/cypress/latest/e2e/unit_tests/reset.spec.ts b/tests/cypress/latest/e2e/unit_tests/reset.spec.ts index b76a0e688..0127eec00 100644 --- a/tests/cypress/latest/e2e/unit_tests/reset.spec.ts +++ b/tests/cypress/latest/e2e/unit_tests/reset.spec.ts @@ -17,10 +17,6 @@ import filterTests from '~/support/filterTests.js'; import * as utils from '~/support/utils'; import * as cypressLib from '@rancher-ecp-qa/cypress-library'; import { qase } from 'cypress-qase-reporter/dist/mocha'; -import { slowCypressDown } from 'cypress-slow-down'; - -// Slow down each command by 500ms -slowCypressDown(500); filterTests(['main'], () => { describe('Reset testing', () => { diff --git a/tests/cypress/latest/e2e/unit_tests/upgrade-operator.spec.ts b/tests/cypress/latest/e2e/unit_tests/upgrade-operator.spec.ts index 7ba94f466..0f57dfb4d 100644 --- a/tests/cypress/latest/e2e/unit_tests/upgrade-operator.spec.ts +++ b/tests/cypress/latest/e2e/unit_tests/upgrade-operator.spec.ts @@ -19,10 +19,6 @@ import filterTests from '~/support/filterTests.js'; import * as cypressLib from '@rancher-ecp-qa/cypress-library'; import { qase } from 'cypress-qase-reporter/dist/mocha'; import * as utils from '~/support/utils'; -import { slowCypressDown } from 'cypress-slow-down'; - -// Slow down each command by 500ms -slowCypressDown(500); Cypress.config(); describe('Elemental operator upgrade tests', () => { diff --git a/tests/cypress/latest/e2e/unit_tests/upgrade-ui-extension.spec.ts b/tests/cypress/latest/e2e/unit_tests/upgrade-ui-extension.spec.ts index 7a83485af..f71cb0b58 100644 --- a/tests/cypress/latest/e2e/unit_tests/upgrade-ui-extension.spec.ts +++ b/tests/cypress/latest/e2e/unit_tests/upgrade-ui-extension.spec.ts @@ -19,10 +19,6 @@ import filterTests from '~/support/filterTests.js'; import * as cypressLib from '@rancher-ecp-qa/cypress-library'; import { qase } from 'cypress-qase-reporter/dist/mocha'; import * as utils from '~/support/utils'; -import { slowCypressDown } from 'cypress-slow-down'; - -// Slow down each command by 500ms -slowCypressDown(500); describe('UI extension upgrade tests', () => { const elemental = new Elemental(); diff --git a/tests/cypress/latest/e2e/unit_tests/upgrade.spec.ts b/tests/cypress/latest/e2e/unit_tests/upgrade.spec.ts index cd46c88d2..0d08c946e 100644 --- a/tests/cypress/latest/e2e/unit_tests/upgrade.spec.ts +++ b/tests/cypress/latest/e2e/unit_tests/upgrade.spec.ts @@ -18,10 +18,6 @@ import filterTests from '~/support/filterTests.js'; import * as utils from '~/support/utils'; import * as cypressLib from '@rancher-ecp-qa/cypress-library'; import { qase } from 'cypress-qase-reporter/dist/mocha'; -import { slowCypressDown } from 'cypress-slow-down'; - -// Slow down each command by 500ms -slowCypressDown(500); describe('Upgrade tests', () => { const channelName = 'mychannel'; diff --git a/tests/cypress/latest/support/e2e.ts b/tests/cypress/latest/support/e2e.ts index 0deeb2f5c..62f80a1db 100644 --- a/tests/cypress/latest/support/e2e.ts +++ b/tests/cypress/latest/support/e2e.ts @@ -13,6 +13,10 @@ limitations under the License. */ import './commands'; +import { slowCypressDown } from 'cypress-slow-down'; + +// Slow down each command by 500ms +slowCypressDown(500); declare global { // In Cypress functions should be declared with 'namespace'