From 4db8a8b074d0c44e3aab41dcf698f027d5f66f53 Mon Sep 17 00:00:00 2001 From: Andy Pickering Date: Mon, 23 Feb 2026 02:33:39 +0900 Subject: [PATCH] Tests: Fix intercept order to ensure it's in place before the API call --- tests/tests/lightspeed-install.cy.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/tests/lightspeed-install.cy.ts b/tests/tests/lightspeed-install.cy.ts index 19e37a3a..3ec50e64 100644 --- a/tests/tests/lightspeed-install.cy.ts +++ b/tests/tests/lightspeed-install.cy.ts @@ -982,10 +982,11 @@ metadata: namespace: 'test-namespace', }, }, - }).as('getManagedCluster'); + }).as('getPod'); cy.get(mainButton).click(); cy.get(popover).should('exist'); + cy.wait('@getPod'); cy.get(attachButton).click(); cy.get(attachMenu) @@ -1021,6 +1022,7 @@ metadata: cy.get(mainButton).click(); cy.get(popover).should('exist'); + cy.wait('@getVirtualMachine'); cy.get(attachButton).click(); cy.get(attachMenu)