diff --git a/tests/cypress/latest/e2e/unit_tests/capd_cluster.spec.ts b/tests/cypress/latest/e2e/unit_tests/capd_cluster.spec.ts index bda3e4f2..55a3a121 100644 --- a/tests/cypress/latest/e2e/unit_tests/capd_cluster.spec.ts +++ b/tests/cypress/latest/e2e/unit_tests/capd_cluster.spec.ts @@ -55,7 +55,7 @@ describe('Import CAPD', () => { cy.clickButton('Manage'); cy.contains('Active' + ' ' + cluster, {timeout: 120000}); cypressLib.burgerMenuToggle(); - cy.contains(cl).click(); + cy.contains(cluster).click(); }) ); diff --git a/tests/cypress/latest/e2e/unit_tests/capd_setup.spec.ts b/tests/cypress/latest/e2e/unit_tests/capd_setup.spec.ts index ed90adf1..cb9d096c 100644 --- a/tests/cypress/latest/e2e/unit_tests/capd_setup.spec.ts +++ b/tests/cypress/latest/e2e/unit_tests/capd_setup.spec.ts @@ -19,7 +19,7 @@ Cypress.config(); describe('Enable CAPD provider', () => { const namespace = "capd-system" const deployment = "rancher-turtles-controller-manager" - const network = 'docker network create \ + const network = '/usr/bin/docker network create \ --driver=bridge \ --subnet=172.19.0.0/16 \ --gateway=172.19.0.1 \ @@ -97,7 +97,7 @@ describe('Enable CAPD provider', () => { cy.contains('.nav', "Infrastructure Providers").click(); cy.clickButton('Create from YAML') - cy.readFile('../../assets/capd-provider.yaml').then((data) => { + cy.readFile('./assets/capd-provider.yaml').then((data) => { cy.get('.CodeMirror') .then((editor) => { editor[0].CodeMirror.setValue(data);