diff --git a/app/(dashboard)/DashboardLayoutClient.tsx b/app/(dashboard)/DashboardLayoutClient.tsx index 330831d8..5b8c3347 100644 --- a/app/(dashboard)/DashboardLayoutClient.tsx +++ b/app/(dashboard)/DashboardLayoutClient.tsx @@ -174,7 +174,7 @@ export default function DashboardLayoutClient({ user, children }: { user: User; {/* Main content */} -
+
{children}
diff --git a/tests/e2e/l4-proxy-hosts.spec.ts b/tests/e2e/l4-proxy-hosts.spec.ts index 243d6c3b..b83ca6fb 100644 --- a/tests/e2e/l4-proxy-hosts.spec.ts +++ b/tests/e2e/l4-proxy-hosts.spec.ts @@ -13,10 +13,10 @@ test.describe('L4 Proxy Hosts page', () => { await expect(page.getByRole('heading', { name: 'L4 Proxy Hosts' })).toBeVisible(); }); - test.skip('shows empty state when no L4 hosts exist', async ({ page }) => { - // Skipped: test database may already contain L4 hosts (e.g. "test") + test('shows empty state when search has no results', async ({ page }) => { await page.goto('/l4-proxy-hosts'); - await expect(page.getByText(/no l4 proxy hosts found/i)).toBeVisible(); + await page.getByPlaceholder(/search/i).fill('zzz-nonexistent-host-zzz'); + await expect(page.getByText(/no l4 hosts match/i).first()).toBeVisible({ timeout: 5_000 }); }); test('create dialog opens and contains expected fields', async ({ page }) => { diff --git a/tests/e2e/mobile/mobile-layout.spec.ts b/tests/e2e/mobile/mobile-layout.spec.ts index 7af00f6a..f75a94db 100644 --- a/tests/e2e/mobile/mobile-layout.spec.ts +++ b/tests/e2e/mobile/mobile-layout.spec.ts @@ -99,7 +99,7 @@ test.describe('Mobile layout', () => { await expect(page.getByRole('menuitem', { name: /delete/i })).toBeVisible(); }); - test.skip('analytics page loads without horizontal body overflow', async ({ page }) => { + test('analytics page loads without horizontal body overflow', async ({ page }) => { await page.goto('/analytics'); // Wait for content to load await page.waitForLoadState('networkidle');