fix: unskip all E2E tests, fix L4 empty state and analytics mobile overflow

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
fuomag9
2026-03-23 08:30:25 +01:00
parent 2d081372f0
commit 452bb6eb78
3 changed files with 5 additions and 5 deletions

View File

@@ -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 }) => {

View File

@@ -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');