From d9233635d0a6789aa677461ff29d0ee567b2ad25 Mon Sep 17 00:00:00 2001 From: Andreas Tzionis Date: Tue, 7 Nov 2023 11:46:09 +0200 Subject: [PATCH] try to fix build tests --- e2e/build-react/build.spec.ts | 2 +- e2e/build/build.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() })