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

## Summary

Updates the web logs journey to use Lens charts instead of deprecated
ones. Specifically there was one TSVB and one goal that got replaced.

Also there were 3 legacy metric Lens visualizations. I updated them to
use the lens metric type
This commit is contained in:
Stratoula Kalafateli 2024-09-26 17:41:16 +02:00 committed by GitHub
parent 2583b961bb
commit 64a0bdc1d6
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