From f10aafa7b50f024be8a62acbc115ff30fb1d5fd2 Mon Sep 17 00:00:00 2001 From: Georgii Karataev Date: Fri, 16 Aug 2024 14:51:17 +0200 Subject: [PATCH] test: Fix flaky HybridInventory.cy.js test --- src/routes/InventoryComponents/HybridInventory.cy.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/routes/InventoryComponents/HybridInventory.cy.js b/src/routes/InventoryComponents/HybridInventory.cy.js index 384591ff0..b76365a7a 100644 --- a/src/routes/InventoryComponents/HybridInventory.cy.js +++ b/src/routes/InventoryComponents/HybridInventory.cy.js @@ -41,11 +41,7 @@ const waitForTable = (waitNetwork = false) => { } // indicating the table is loaded - cy.get('table[aria-label="Host inventory"]').should( - 'have.attr', - 'data-ouia-safe', - 'true' - ); + cy.get('[data-label="Name"]').contains('dolor'); }; before(() => {