[8.x] [Web logs journey] Replaces the rest visualizations with Lens charts (#194097) (#194177)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Web logs journey] Replaces the rest visualizations with Lens charts
(#194097)](https://github.com/elastic/kibana/pull/194097)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Stratoula
Kalafateli","email":"efstratia.kalafateli@elastic.co"},"sourceCommit":{"committedDate":"2024-09-26T15:41:16Z","message":"[Web
logs journey] Replaces the rest visualizations with Lens charts
(#194097)\n\n## Summary\r\n\r\nUpdates the web logs journey to use Lens
charts instead of deprecated\r\nones. Specifically there was one TSVB
and one goal that got replaced.\r\n\r\nAlso there were 3 legacy metric
Lens visualizations. I updated them to\r\nuse the lens metric
type","sha":"64a0bdc1d6cac385d4382a398a9d08536b00bd4c","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","v8.16.0"],"title":"[Web
logs journey] Replaces the rest visualizations with Lens
charts","number":194097,"url":"https://github.com/elastic/kibana/pull/194097","mergeCommit":{"message":"[Web
logs journey] Replaces the rest visualizations with Lens charts
(#194097)\n\n## Summary\r\n\r\nUpdates the web logs journey to use Lens
charts instead of deprecated\r\nones. Specifically there was one TSVB
and one goal that got replaced.\r\n\r\nAlso there were 3 legacy metric
Lens visualizations. I updated them to\r\nuse the lens metric
type","sha":"64a0bdc1d6cac385d4382a398a9d08536b00bd4c"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194097","number":194097,"mergeCommit":{"message":"[Web
logs journey] Replaces the rest visualizations with Lens charts
(#194097)\n\n## Summary\r\n\r\nUpdates the web logs journey to use Lens
charts instead of deprecated\r\nones. Specifically there was one TSVB
and one goal that got replaced.\r\n\r\nAlso there were 3 legacy metric
Lens visualizations. I updated them to\r\nuse the lens metric
type","sha":"64a0bdc1d6cac385d4382a398a9d08536b00bd4c"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
This commit is contained in:
Kibana Machine 2024-09-27 03:19:35 +10:00 committed by GitHub
parent 52ae866eeb
commit db8f66ca12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 392 additions and 0 deletions

View file

@ -352,6 +352,7 @@ enabled:
- x-pack/performance/journeys_e2e/promotion_tracking_dashboard.ts
- x-pack/performance/journeys_e2e/web_logs_dashboard.ts
- x-pack/performance/journeys_e2e/web_logs_dashboard_esql.ts
- x-pack/performance/journeys_e2e/web_logs_dashboard_dataview.ts
- x-pack/performance/journeys_e2e/data_stress_test_lens.ts
- x-pack/performance/journeys_e2e/ecommerce_dashboard_saved_search_only.ts
- x-pack/performance/journeys_e2e/ecommerce_dashboard_tsvb_gauge_only.ts

View file

@ -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_dataview'],
})
.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]-Web-Traffic'));
await kibanaPage.waitForVisualizations({ count: 11 });
});

File diff suppressed because one or more lines are too long