diff --git a/cypress/tests/persistent-dashboard-check.spec.ts b/cypress/tests/persistent-dashboard-check.spec.ts index 6307645d1..381088e4f 100644 --- a/cypress/tests/persistent-dashboard-check.spec.ts +++ b/cypress/tests/persistent-dashboard-check.spec.ts @@ -70,12 +70,16 @@ describe('Check Persistent Dashboard', () => { ); let initialPVC: number; let initialPV: number; + cy.byTestID('inventory-pvc') + .find('.skeleton-inventory') + .should('not.exist'); cy.byTestID('inventory-pvc') .invoke('text') .then((pvcText) => { initialPVC = Number(extractNumbersFromText(pvcText)); cy.log(`Initial number of PVCs: ${initialPVC}`); }); + cy.byTestID('inventory-pv').find('.skeleton-inventory').should('not.exist'); cy.byTestID('inventory-pv') .invoke('text') .then((pvText) => {