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
style(e2e): apply prettier to the matcher and auth-setup edits
Sergey Kozyrenko2615510a0d7c
diff --git a/frontend/e2e/mocks/world.ts b/frontend/e2e/mocks/world.tsindex 0a742fab..1230587e 100644--- a/frontend/e2e/mocks/world.ts+++ b/frontend/e2e/mocks/world.ts@@ -136,9 +136,7 @@ export class MockWorld {// Key on the request's variables, not the entry's: an entry written without variables would// otherwise merge every flow's subscribers onto one stream, and the second would join delta-only.- return entry- ? { entry, streamKey: `sub:${operationName}:${stableStringify(variables ?? {})}` }- : undefined;+ return entry ? { entry, streamKey: `sub:${operationName}:${stableStringify(variables ?? {})}` } : undefined;}registerSocket(socket: MockSocket): void {diff --git a/frontend/e2e/specs/auth.setup.ts b/frontend/e2e/specs/auth.setup.tsindex 772b4310..0320837d 100644--- a/frontend/e2e/specs/auth.setup.ts+++ b/frontend/e2e/specs/auth.setup.ts@@ -18,7 +18,9 @@ setup('authenticate', async ({ page }) => {const skip = page.getByRole('button', { name: 'Skip for now' });// The user menu is labelled with the signed-in address, so derive the "logged in" signal// from E2E_USER rather than a hardcoded admin@ (there is no button named "flows").- const loggedIn = page.getByRole('button', { name: new RegExp(E2E_USER.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), 'i') });+ const loggedIn = page.getByRole('button', {+ name: new RegExp(E2E_USER.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), 'i'),+ });await expect(skip.or(loggedIn).first()).toBeVisible({ timeout: 15_000 });