From dcfd54898cf5c772053407ac5fe713b7f879389a Mon Sep 17 00:00:00 2001 From: Tomas Hehejik Date: Thu, 8 Sep 2022 17:24:32 +0200 Subject: [PATCH] Fix epinio namespace creation in rancher Signed-off-by: Tomas Hehejik --- cypress/support/functions.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cypress/support/functions.ts b/cypress/support/functions.ts index 6037e259..0012951f 100644 --- a/cypress/support/functions.ts +++ b/cypress/support/functions.ts @@ -724,7 +724,10 @@ Cypress.Commands.add('epinioInstall', ({s3, extRegistry}) => { // Namespace where installation will happen cy.typeValue({label: 'Name', value: 'epinio-install'}); - cy.contains('default').type('epinio{enter}'); + // Typing just a new namespace name is not enough, select 'Create a New Namespace' first + cy.get('div.vs__selected-options').eq(0).click(); + cy.get('li.vs__dropdown-option').contains('Create a New Namespace').click({force: true}); + cy.get(':nth-child(1) > .labeled-input').type('epinio'); cy.clickButton('Next'); // Configure custom domain