Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

E2E: let the login form settle after signing out

Petr Bauchf68047f152ca
diff --git a/console/tooling-e2e/src/browser/gateway-ui.ts b/console/tooling-e2e/src/browser/gateway-ui.ts
index ceb1b5300..3e32b3286 100644
--- a/console/tooling-e2e/src/browser/gateway-ui.ts
+++ b/console/tooling-e2e/src/browser/gateway-ui.ts
@@ -115,6 +115,9 @@ export class GatewayUi {
await this.page.getByRole('menuitem', { name: 'Sign out' }).click();
this.signedIn = false;
await expect.poll(() => this.path(), { timeout: 15_000 }).toBe('/login');
+ // The login form fetches its config as it mounts; navigating away before
+ // that answers aborts it, which the app reports as a console error.
+ await this.settled();
}
/** The path the app is showing. */