Skip to content

Commit

Permalink
Import CAPD cluster
Browse files Browse the repository at this point in the history
Signed-off-by: Chandan Pinjani <chandan.pinjani@suse.com>
  • Loading branch information
cpinjani committed Dec 18, 2023
1 parent 6234245 commit 63a1955
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/cypress/latest/e2e/unit_tests/capd_cluster.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
})
);

Expand Down
4 changes: 2 additions & 2 deletions tests/cypress/latest/e2e/unit_tests/capd_setup.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 63a1955

Please sign in to comment.