Skip to content

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

chore: files changed app/src/components/walkthrough/__tests__/AppWalkthrough.test.tsx

Steven Enamakel3ead79335a4d
diff --git a/app/src/components/walkthrough/__tests__/AppWalkthrough.test.tsx b/app/src/components/walkthrough/__tests__/AppWalkthrough.test.tsx
index a739644468..6f62f05dcb 100644
--- a/app/src/components/walkthrough/__tests__/AppWalkthrough.test.tsx
+++ b/app/src/components/walkthrough/__tests__/AppWalkthrough.test.tsx
@@ -548,10 +548,11 @@ describe('createWalkthroughSteps', () => {
const navigate = vi.fn();
const steps = createWalkthroughSteps(navigate);
- // Steps: 2=chat, 3=integrations, 4=channels, 5=settings, 6=chat-tab, 10=chat-welcome.
- // The tail shifted down by one when the Human nav step was dropped (Human
- // has no nav row — the chat composer's idle button opens it).
- const crossPageIndices = [2, 3, 4, 5, 6, 10];
+ // Steps: 2=chat, 3=integrations, 4=channels, 5=settings, 6=chat-tab, 9=chat-welcome.
+ // The tail has shifted down twice: once when the Human nav step was dropped
+ // (Human has no nav row — the chat composer's idle button opens it), and
+ // again when the Feedback step went with the sidebar icon it pointed at.
+ const crossPageIndices = [2, 3, 4, 5, 6, 9];
for (const idx of crossPageIndices) {
expect(typeof steps[idx].before, `step[${idx}] should have a before fn`).toBe('function');
}
@@ -561,7 +562,7 @@ describe('createWalkthroughSteps', () => {
const navigate = vi.fn();
const steps = createWalkthroughSteps(navigate);
- const homeOnlyIndices = [0, 1, 7, 8, 9];
+ const homeOnlyIndices = [0, 1, 7, 8];
for (const idx of homeOnlyIndices) {
expect(steps[idx].before, `step[${idx}] should not have a before fn`).toBeUndefined();
}
@@ -573,7 +574,7 @@ describe('createWalkthroughSteps', () => {
{ idx: 4, route: null, target: 'skills-channels' },
{ idx: 5, route: '/settings', target: 'settings-menu' },
{ idx: 6, route: '/chat', target: 'tab-chat' },
- { idx: 10, route: '/chat', target: 'chat-agent-panel' },
+ { idx: 9, route: '/chat', target: 'chat-agent-panel' },
])('before hook for step $idx calls navigate("$route")', async ({ idx, route, target }) => {
const navigate = vi.fn();