Fully autonomous AI Agents system capable of performing complex penetration testing tasks
Go ai-agentsai-security-toolanthropicautonomous-agentsgolanggptgraphqlmulti-agent-systemoffensive-securityopen-sourceopenaipenetration-testingpenetration-testing-toolsreactsecurity-automationsecurity-testingsecurity-toolsself-hosted
test(e2e): assert the responsive and a11y-login claims their titles make
Sergey Kozyrenko678a878855b6
diff --git a/frontend/e2e/specs/cross/a11y.spec.ts b/frontend/e2e/specs/cross/a11y.spec.tsindex c0185297..7224275a 100644--- a/frontend/e2e/specs/cross/a11y.spec.ts+++ b/frontend/e2e/specs/cross/a11y.spec.ts@@ -19,6 +19,9 @@ for (const theme of THEMES) {test('login page', async ({ page }) => {await page.goto('/login');await expect(page.getByRole('button', { name: 'Sign in' })).toBeVisible();+ // Same guard as the manifest scan: a dark seed that stops applying must not+ // silently re-scan the light page under a dark label.+ await expect(page.locator('html')).toHaveClass(theme === 'dark' ? /dark/ : /light/);await scanA11y(page, '/login');});});diff --git a/frontend/e2e/specs/cross/responsive.spec.ts b/frontend/e2e/specs/cross/responsive.spec.tsindex 022263a1..6aed8333 100644--- a/frontend/e2e/specs/cross/responsive.spec.ts+++ b/frontend/e2e/specs/cross/responsive.spec.ts@@ -18,6 +18,9 @@ test.describe('responsive', { tag: '@cross' }, () => {await page.goto('/flows');await expect(page.getByRole('button', { name: 'Toggle Sidebar' })).toBeVisible();+ // Owned by the mobile shell: the sidebar collapses to an off-canvas sheet, so its+ // nav links are hidden until the trigger opens it (they are inline-visible on desktop).+ await expect(page.getByRole('link', { name: 'Dashboard' })).toBeHidden();expect(await page.evaluate(hasHorizontalOverflow)).toBe(false);await page.getByRole('row', { name: /E2E Alpha/ }).click();@@ -33,9 +36,13 @@ test.describe('responsive', { tag: '@cross' }, () => {await page.goto('/flows');await page.getByRole('row', { name: /E2E Alpha/ }).click();await expect(page.getByRole('separator').first()).toBeVisible();+ // Split layout: the central panel and the right rail are two separate tab rows.+ await expect(page.getByRole('tablist')).toHaveCount(2);await page.setViewportSize({ height: 800, width: 1279 });await expect(page.getByRole('separator')).toBeHidden();+ // Merged: the two tab groups collapse into a single tab row.+ await expect(page.getByRole('tablist')).toHaveCount(1);expect(await page.evaluate(hasHorizontalOverflow)).toBe(false);expectCleanPage(pageErrorLog);});