diff --git a/tests/cypress/e2e/unit_tests/machine_registration.spec.ts b/tests/cypress/e2e/unit_tests/machine_registration.spec.ts index c77cdc850..f0fc1f068 100644 --- a/tests/cypress/e2e/unit_tests/machine_registration.spec.ts +++ b/tests/cypress/e2e/unit_tests/machine_registration.spec.ts @@ -23,9 +23,6 @@ describe('Machine registration testing', () => { // Delete all files previously downloaded cy.exec('rm cypress/downloads/*', {failOnNonZeroExit: false}); - // Delete namespace - cy.exec('kubectl --kubeconfig=/etc/rancher/k3s/k3s.yaml delete ns mynamespace', {failOnNonZeroExit: false}); - // Delete all existing machine registrations cy.contains('Manage Registration Endpoints').click(); cy.get('.outlet > header').contains('Registration Endpoints');