Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(e2e): assert authenticated skill shell

Steven Enamakel5cb5ba142b2f
diff --git a/app/test/e2e/specs/skill-execution-flow.spec.ts b/app/test/e2e/specs/skill-execution-flow.spec.ts
index 90b984c322..5d6d894f49 100644
--- a/app/test/e2e/specs/skill-execution-flow.spec.ts
+++ b/app/test/e2e/specs/skill-execution-flow.spec.ts
@@ -29,10 +29,11 @@ describe('Skill discovery (UI + core RPC)', () => {
});
it('lands the user on a logged-in shell', async () => {
- const atHome =
- (await textExists('Ask your assistant anything')) ||
- (await textExists('Your device is connected')) ||
- (await textExists('Your assistant is ready when you are'));
+ // Welcome text varies while the chat surface hydrates. The authenticated
+ // app shell is the stable contract this smoke test actually needs.
+ const atHome = (await browser.execute(
+ () => document.querySelector('[data-testid="root-shell-sidebar"]') !== null
+ )) as boolean;
expect(atHome).toBe(true);
});