Skip to content

Commit

Permalink
Enable Agent TLS mode when installing turtles
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Hehejik <thehejik@suse.com>
  • Loading branch information
thehejik committed Jan 13, 2025
1 parent 45e6b3d commit fc96a4a
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions tests/cypress/latest/e2e/unit_tests/turtles_operator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,33 +43,10 @@ describe('Install Turtles Operator', { tags: '@install' }, () => {

// Used for enabling fleet-addon feature within Rancher Turtles installation
const questions = [
{ menuEntry: 'Rancher Turtles Features Settings', checkbox: 'Seamless integration with Fleet and CAPI' }
{ menuEntry: 'Rancher Turtles Features Settings', checkbox: 'Seamless integration with Fleet and CAPI' },
{ menuEntry: 'Rancher Turtles Features Settings', checkbox: 'Enable Agent TLS Mode' }
];
cy.installApp('Rancher Turtles', 'rancher-turtles-system', questions);
})
);

it('Turtles prerequisites', () => {

// Open Rancher turtles deployment
cy.contains('local')
.click();
cy.get('.nav').contains('Workloads')
.click();
cy.get('.nav').contains('Deployments')
.click();
cy.setNamespace('rancher-turtles-system');

// Edit Rancher turtles deployment
cy.typeInFilter(deployment);
cy.getBySel('sortable-table-0-action-button').click();
cy.contains('Edit Config')
.click();
cy.byLabel('Arguments').as('label')
cy.get('@label').type(' --insecure-skip-verify=true')
cy.clickButton('Save');
cy.contains(new RegExp('Active.*' + deployment));
cy.namespaceReset();
})

});

0 comments on commit fc96a4a

Please sign in to comment.