diff --git a/tests/e2e/specs/health.spec.ts b/tests/e2e/specs/health.spec.ts index 15ef663..88a742c 100644 --- a/tests/e2e/specs/health.spec.ts +++ b/tests/e2e/specs/health.spec.ts @@ -8,7 +8,7 @@ test.describe('Health & UI basics', () => { await expect(page.getByRole('status', { name: 'Radio OK' })).toBeVisible(); // Sidebar is visible with key sections - await expect(page.getByRole('heading', { name: 'Conversations' })).toBeVisible(); + await expect(page.getByRole('navigation', { name: 'Conversations' })).toBeVisible(); await expect(page.getByText('Packet Feed')).toBeVisible(); await expect(page.getByText('Node Map')).toBeVisible(); }); diff --git a/tests/e2e/specs/sidebar-search.spec.ts b/tests/e2e/specs/sidebar-search.spec.ts index 8615df0..f87aabe 100644 --- a/tests/e2e/specs/sidebar-search.spec.ts +++ b/tests/e2e/specs/sidebar-search.spec.ts @@ -34,7 +34,7 @@ test.describe('Sidebar search/filter', () => { await expect(page.getByText(nameB, { exact: true })).toBeVisible(); // Type partial name to filter - const searchInput = page.getByPlaceholder('Search...'); + const searchInput = page.getByLabel('Search conversations'); await searchInput.fill(`alpha${suffix}`); // Only nameA should be visible