From ea990a56145e342e9e1a93a9d877cf97b065550c Mon Sep 17 00:00:00 2001 From: Erika <3019731+Princesseuh@users.noreply.github.com> Date: Tue, 20 Feb 2024 15:15:54 +0100 Subject: [PATCH] fix: dev-toolbar test (#10167) --- packages/astro/e2e/dev-toolbar.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/astro/e2e/dev-toolbar.test.js b/packages/astro/e2e/dev-toolbar.test.js index a4dcc7b20f..3afdf9036d 100644 --- a/packages/astro/e2e/dev-toolbar.test.js +++ b/packages/astro/e2e/dev-toolbar.test.js @@ -57,10 +57,10 @@ test.describe('Dev Toolbar', () => { await page.goto(astro.resolveUrl('/view-transition-a')); let toolbar = page.locator('astro-dev-toolbar'); - let appButton = toolbar.locator('button[data-app-id="astro"]'); + let appButton = toolbar.locator('button[data-app-id="astro:home"]'); await appButton.click(); - let astroAppCanvas = toolbar.locator('astro-dev-toolbar-app-canvas[data-app-id="astro"]'); + let astroAppCanvas = toolbar.locator('astro-dev-toolbar-app-canvas[data-app-id="astro:home"]'); let astroToolbarCards = await astroAppCanvas.locator('astro-dev-toolbar-card'); await page.waitForSelector('astro-dev-toolbar-card'); await expect(astroToolbarCards.first()).toBeVisible(); @@ -69,7 +69,7 @@ test.describe('Dev Toolbar', () => { await page.click('#go-to-b'); await consolePromise; - astroAppCanvas = toolbar.locator('astro-dev-toolbar-app-canvas[data-app-id="astro"]'); + astroAppCanvas = toolbar.locator('astro-dev-toolbar-app-canvas[data-app-id="astro:home"]'); astroToolbarCards = await astroAppCanvas.locator('astro-dev-toolbar-card'); await page.waitForSelector('astro-dev-toolbar-card'); await expect(astroToolbarCards.first()).toBeVisible();