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();