Skip to content

Commit 8ed0662

Browse files
committed
Tests: Fix intercept order to ensure it's in place before the API call
1 parent 2f9eb37 commit 8ed0662

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/tests/lightspeed-install.cy.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,10 +977,11 @@ metadata:
977977
namespace: 'test-namespace',
978978
},
979979
},
980-
}).as('getManagedCluster');
980+
}).as('getPod');
981981

982982
cy.get(mainButton).click();
983983
cy.get(popover).should('exist');
984+
cy.wait('@getPod');
984985

985986
cy.get(attachButton).click();
986987
cy.get(attachMenu)
@@ -1016,6 +1017,7 @@ metadata:
10161017

10171018
cy.get(mainButton).click();
10181019
cy.get(popover).should('exist');
1020+
cy.wait('@getVirtualMachine');
10191021

10201022
cy.get(attachButton).click();
10211023
cy.get(attachMenu)

0 commit comments

Comments
 (0)