From 91ad3211c24d903c3d14ed005ba45bbbc0b2543d Mon Sep 17 00:00:00 2001 From: Caue Marcondes Date: Tue, 16 Apr 2024 20:08:57 +0100 Subject: [PATCH] skipping --- .../e2e/cypress/e2e/profiling_views/storage_explorer.cy.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/profiling_views/storage_explorer.cy.ts b/x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/profiling_views/storage_explorer.cy.ts index b7d5680cc34775..5f9f69180e4499 100644 --- a/x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/profiling_views/storage_explorer.cy.ts +++ b/x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/profiling_views/storage_explorer.cy.ts @@ -89,8 +89,8 @@ describe('Storage explorer page', () => { cy.wait('@indicesDetails'); cy.get('table > tbody tr.euiTableRow').should('have.length', 10); }); - - it('displays a chart with percentage of each index', () => { + // Skipping it we should not rely on dom elements from third-level libraries to write our tests + it.skip('displays a chart with percentage of each index', () => { cy.intercept('GET', '/internal/profiling/storage_explorer/indices_storage_details?*').as( 'indicesDetails' ); @@ -108,6 +108,7 @@ describe('Storage explorer page', () => { ]; cy.get('.echChartPointerContainer table tbody tr').each(($row, idx) => { + // These are no longer valid elements on charts cy.wrap($row).find('th').contains(indices[idx].index); cy.wrap($row).find('td').contains(indices[idx].perc); });