Skip to content

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

test(playwright): add channels tab loading to guided tour test

Steven Enamakelc730b360dd5e
diff --git a/app/test/playwright/specs/guided-tour-gates.spec.ts b/app/test/playwright/specs/guided-tour-gates.spec.ts
index 93c7ecc1db..10063d7545 100644
--- a/app/test/playwright/specs/guided-tour-gates.spec.ts
+++ b/app/test/playwright/specs/guided-tour-gates.spec.ts
@@ -49,6 +49,13 @@ test.describe('Guided tour gates', () => {
);
console.log(`[tour-event] ${JSON.stringify(args)}`);
});
+ // The Channels tab loads its real definitions asynchronously. Resolve the
+ // same visible tour anchor before starting the tour so this assertion
+ // measures the seven-step route, not first-use module cold-start latency.
+ await page.goto('/#/connections?tab=channels');
+ await expect(page.locator('[data-walkthrough="skills-channels"]')).toBeVisible();
+ await page.goto('/#/chat');
+ await waitForAppReady(page);
await armWalkthrough(page);
const steps = [