From 69afc5635e12d3de544535b3bee1e45f2590f484 Mon Sep 17 00:00:00 2001 From: soulgalore Date: Tue, 30 Jan 2024 05:25:30 +0100 Subject: [PATCH] New Grafana, new layout --- tests/docker/desktop/spa.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/docker/desktop/spa.js b/tests/docker/desktop/spa.js index ca1be24..b5664ca 100644 --- a/tests/docker/desktop/spa.js +++ b/tests/docker/desktop/spa.js @@ -11,12 +11,12 @@ export default async function(context, commands) { 'https://dashboard.sitespeed.io/d/9NDMzFfMk/page-metrics-desktop?orgId=1&var-base=sitespeed_io&var-path=desktop&var-testname=spa&var-group=dashboard_sitespeed_io&var-page=pageTimingMetricsDefault&var-browser=chrome&var-connectivity=cable&var-function=median&var-resulturl=https:%2F%2Fdata.sitespeed.io%2F&var-screenshottype=jpg', 'pageTimingMetricsDefault' ); - await commands.click.byClassName('css-1i2o8lj'); + await commands.click.byClassName('css-1jq19ai'); await commands.wait.byTime(3000); await commands.measure.start('pageTimingMetrics30Days'); try { await commands.click.byXpathAndWait( - '/html/body/div[1]/div[1]/main/div[1]/div[2]/div[2]/div[3]/div/div[1]/div/section/div/div[1]/div[1]/div[2]/div[1]/ul/li[11]/input' + '/html/body/div[1]/div[1]/div/div[1]/div[2]/div[2]/div[3]/div/div[1]/div/section/div/div[1]/div[1]/div[2]/div[1]/ul/li[11]/label' ); await commands.wait.byTime(5000); } catch (error) {