From 268e07f5babda2b70866a265a4f5020cb5abd720 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Fri, 4 Oct 2024 19:30:45 +1000 Subject: [PATCH] [8.x] [Discover] Fix many_fields performance journey (#194887) (#194911) # Backport This will backport the following commits from `main` to `8.x`: - [[Discover] Fix many_fields performance journey (#194887)](https://github.com/elastic/kibana/pull/194887) ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) Co-authored-by: Davis McPhee --- 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'));