From b2929aa0298a35c63c0de1adaf0323a289e02ed6 Mon Sep 17 00:00:00 2001 From: Chandan Pinjani Date: Wed, 20 Dec 2023 11:53:46 +0530 Subject: [PATCH] Update capd_cluster.spec.ts Signed-off-by: Chandan Pinjani --- tests/cypress/latest/e2e/unit_tests/capd_cluster.spec.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 1a173b2..18caf81 100644 --- a/tests/cypress/latest/e2e/unit_tests/capd_cluster.spec.ts +++ b/tests/cypress/latest/e2e/unit_tests/capd_cluster.spec.ts @@ -36,9 +36,11 @@ describe('Import CAPD', () => { cypressLib.accesMenu('Continuous Delivery'); cypressLib.accesMenu('Git Repos'); - // Change fleet namespace - cy.contains('fleet-default').click(); - cy.contains('fleet-local').click(); + // Change namespace to fleet-local + cy.contains('fleet-').click(); + cy.contains('fleet-local') + .should('be.visible') + .click(); // Add CAPD fleet repository cy.clickButton('Add Repository');