-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Transforms: Add performance journey for transform wizard source …
…index loading. (#160837) Add a performance journey for transform wizard source index loading.
- Loading branch information
Showing
9 changed files
with
70 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import { Journey } from '@kbn/journeys'; | ||
import { subj } from '@kbn/test-subj-selector'; | ||
import { waitForChrome } from '../utils'; | ||
|
||
export const journey = new Journey({ | ||
kbnArchives: ['test/functional/fixtures/kbn_archiver/many_fields_data_view'], | ||
esArchives: ['test/functional/fixtures/es_archiver/many_fields'], | ||
}) | ||
.step('Go to Transforms', async ({ page, kbnUrl }) => { | ||
await page.goto(kbnUrl.get(`app/management/data/transform`)); | ||
await waitForChrome(page); | ||
await page.waitForSelector(subj('transformCreateFirstButton')); | ||
await page.waitForSelector(subj('globalLoadingIndicator-hidden')); | ||
}) | ||
.step('Go to data view selection', async ({ page }) => { | ||
const createButtons = page.locator(subj('transformCreateFirstButton')); | ||
await createButtons.first().click(); | ||
await page.waitForSelector(subj('savedObjectsFinderTable')); | ||
}) | ||
.step('Go to Transform Wizard', async ({ page }) => { | ||
await page.click(subj('savedObjectTitleindices-stats*')); | ||
// Extended the timeout, this one tracks a known issue with slow data grid performance with many fields | ||
await page.waitForSelector(subj('transformIndexPreview loaded'), { timeout: 120000 }); | ||
await page.waitForSelector(subj('globalLoadingIndicator-hidden'), { timeout: 120000 }); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters