From b7fef94b4a241a50fb99e573fcdd431c93a9ea27 Mon Sep 17 00:00:00 2001 From: Tomas Norre Mikkelsen Date: Wed, 23 Oct 2024 22:53:54 +0200 Subject: [PATCH] Adjust news test --- Tests/Acceptance-Playwright/Tests/frontend.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Acceptance-Playwright/Tests/frontend.spec.js b/Tests/Acceptance-Playwright/Tests/frontend.spec.js index 85847dfbb..789ff2ac1 100644 --- a/Tests/Acceptance-Playwright/Tests/frontend.spec.js +++ b/Tests/Acceptance-Playwright/Tests/frontend.spec.js @@ -9,7 +9,7 @@ test('Can see homepage', async ({page}) => { test('Can see news page', async ({page}) => { await page.goto('/news'); - await expect(page.getByRole('document')).toContainText('Content Element with uid "5"'); + await expect(page.getByRole('document')).toContainText('No news available.'); }); test('Can see search page and search for Tomasnorre', async ({page}) => {