From 6858b8082d994c4dc227b44db99d669ef81fffb5 Mon Sep 17 00:00:00 2001 From: Andreas Tzionis Date: Sun, 5 Nov 2023 11:27:41 +0200 Subject: [PATCH] worked on 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 addb162a..4233de4c 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-container')).toBeVisible() + await expect(page.locator('#page')).toBeVisible() }) diff --git a/e2e/build/build.spec.ts b/e2e/build/build.spec.ts index addb162a..4233de4c 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-container')).toBeVisible() + await expect(page.locator('#page')).toBeVisible() })