From 1a120cfe3055c898b395cc2e56773011ee580bfe Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 7 Apr 2024 17:53:54 +0200 Subject: [PATCH] Fix test after rebase --- e2e/logs.spec.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/e2e/logs.spec.ts b/e2e/logs.spec.ts index c7379269..d06512af 100644 --- a/e2e/logs.spec.ts +++ b/e2e/logs.spec.ts @@ -19,8 +19,11 @@ test.describe('Logs', () => { await page.goto('/logs', { waitUntil: 'networkidle' }); await Promise.all([logs, ping]); - await expect(page.locator('textarea')).toBeVisible(); - await expect(page.locator('textarea')).toHaveValue(/Checking exchange.../, {}); + await expect(page.locator('span', { hasText: 'Checking exchange' })).toBeVisible(); + await expect(page.locator('span', { hasText: 'Checking exchange' })).toHaveText( + /Checking exchange.../, + {}, + ); // const logsPromise = page.waitForResponse('**/api/v1/logs'); const logsPromise = getWaitForResponse(page, '@Logs'); await page.getByRole('button', { name: 'Reload Logs' }).click();