diff --git a/e2e/build-react/build.spec.ts b/e2e/build-react/build.spec.ts index 4233de4c..ac6249e9 100644 --- a/e2e/build-react/build.spec.ts +++ b/e2e/build-react/build.spec.ts @@ -3,5 +3,5 @@ import { test, expect } from '@playwright/test' test('should show the production version', async ({ page }) => { await page.goto('/') await expect(page).toHaveURL('/') - await expect(page.locator('#page')).toBeVisible() + await expect(page.locator('text=Understand')).toBeVisible() }) diff --git a/e2e/build/build.spec.ts b/e2e/build/build.spec.ts index 4233de4c..ac6249e9 100644 --- a/e2e/build/build.spec.ts +++ b/e2e/build/build.spec.ts @@ -3,5 +3,5 @@ import { test, expect } from '@playwright/test' test('should show the production version', async ({ page }) => { await page.goto('/') await expect(page).toHaveURL('/') - await expect(page.locator('#page')).toBeVisible() + await expect(page.locator('text=Understand')).toBeVisible() })