From 8b1fd9535f405f7370ed7493e33517eec926799f Mon Sep 17 00:00:00 2001 From: Peter Makowski Date: Thu, 11 Jan 2024 15:53:25 +0100 Subject: [PATCH] update MAAS domain - update heading selector --- .github/workflows/sitespeed.yml | 2 +- sitespeed.io/scripts/machines.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sitespeed.yml b/.github/workflows/sitespeed.yml index 0dbfa8cfe7..c14e744635 100644 --- a/.github/workflows/sitespeed.yml +++ b/.github/workflows/sitespeed.yml @@ -10,7 +10,7 @@ jobs: name: Run sitespeed.io runs-on: ubuntu-22.04 env: - MAAS_DOMAIN: localhost + MAAS_DOMAIN: "127.0.0.1" steps: - uses: actions/checkout@main - name: Setup MAAS diff --git a/sitespeed.io/scripts/machines.js b/sitespeed.io/scripts/machines.js index 29d3aca806..0c9aff8a91 100644 --- a/sitespeed.io/scripts/machines.js +++ b/sitespeed.io/scripts/machines.js @@ -5,7 +5,7 @@ const TIMEOUT = 120000; const waitForMachines = async (context, commands, pageSize = 50) => { context.log.info("waiting for machine list count"); await commands.wait.byCondition( - `document.querySelector('[data-testid="section-header-title"]').textContent.includes("1000 machines")`, + `document.querySelector('[data-testid="main-toolbar-heading"]').textContent.includes("1000 machines")`, TIMEOUT ); context.log.info(`waiting for ${pageSize} machine list rows`);