From af2355631e9cfe5b8f14956239e66aeaa99bb1b0 Mon Sep 17 00:00:00 2001 From: Davis McPhee Date: Thu, 3 Oct 2024 20:35:56 -0300 Subject: [PATCH] Fix many_fields performance journey --- x-pack/performance/journeys_e2e/many_fields_discover.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/x-pack/performance/journeys_e2e/many_fields_discover.ts b/x-pack/performance/journeys_e2e/many_fields_discover.ts index 1164cfbff1a8b..4943e2f59c413 100644 --- a/x-pack/performance/journeys_e2e/many_fields_discover.ts +++ b/x-pack/performance/journeys_e2e/many_fields_discover.ts @@ -9,8 +9,6 @@ import { Journey } from '@kbn/journeys'; import { subj } from '@kbn/test-subj-selector'; export const journey = new Journey({ - // Failing: See https://github.com/elastic/kibana/issues/193305 - skipped: true, kbnArchives: ['test/functional/fixtures/kbn_archiver/many_fields_data_view'], esArchives: ['test/functional/fixtures/es_archiver/many_fields'], }) @@ -24,9 +22,9 @@ export const journey = new Journey({ await page.waitForSelector('[data-test-subj="discoverDocTable"][data-render-complete="true"]'); await page.waitForSelector(subj('globalLoadingIndicator-hidden')); }) - .step('Expand the first document', async ({ page }) => { + .step('Expand a document', async ({ page }) => { const expandButtons = page.locator(subj('docTableExpandToggleColumn')); - await expandButtons.last().click(); + await expandButtons.nth(3).click(); await page.waitForSelector(subj('docTableRowAction')); await page.click(subj('docTableRowAction')); await page.waitForSelector(subj('globalLoadingIndicator-hidden'));