-
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.
[ES|QL] Performance journey for dashboards made with ES|QL (#193322)
## Summary Closes #182548 Creates an dashboard journey similar to the web logs one but the majority of the visualizations are using ES|QL. Note: There is one Lens viz not converted yet because it needs inlinestats. We could also convert it when inlinestats go to GA.
- Loading branch information
Showing
4 changed files
with
356 additions
and
0 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
24 changes: 24 additions & 0 deletions
24
x-pack/performance/journeys_e2e/web_logs_dashboard_esql.ts
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,24 @@ | ||
/* | ||
* 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'; | ||
|
||
export const journey = new Journey({ | ||
esArchives: ['x-pack/performance/es_archives/sample_data_logs'], | ||
kbnArchives: ['x-pack/performance/kbn_archives/logs_no_map_dashboard_esql'], | ||
}) | ||
|
||
.step('Go to Dashboards Page', async ({ page, kbnUrl, kibanaPage }) => { | ||
await page.goto(kbnUrl.get(`/app/dashboards`)); | ||
await kibanaPage.waitForListViewTable(); | ||
}) | ||
|
||
.step('Go to Web Logs Dashboard', async ({ page, kibanaPage }) => { | ||
await page.click(subj('dashboardListingTitleLink-Logs-dashboard-with-ES|QL')); | ||
await kibanaPage.waitForVisualizations({ count: 11 }); | ||
}); |
Oops, something went wrong.