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`);