Skip to content

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

fix(ui): correct NodePalette test to verify node type filtering

Steven Enamakel8bb33622c107
diff --git a/app/src/components/flows/canvas/NodePalette.test.tsx b/app/src/components/flows/canvas/NodePalette.test.tsx
index 80079ecbbd..9e3107c503 100644
--- a/app/src/components/flows/canvas/NodePalette.test.tsx
+++ b/app/src/components/flows/canvas/NodePalette.test.tsx
@@ -49,7 +49,9 @@ describe('NodePalette', () => {
const palette = screen.getByTestId('flow-node-palette');
expect(palette).toBeInTheDocument();
// The panel-only hint copy only renders for `variant="panel"`.
- expect(screen.getByText('flows.palette.panelHint')).toBeInTheDocument();
+ expect(
+ screen.getByText('Click a step to add it to the canvas, or drag it where you want it.')
+ ).toBeInTheDocument();
// The overlay's floating position/sizing classes are absent in panel mode.
expect(palette.className).not.toContain('absolute');
expect(palette.className).toContain('flex h-full min-h-0 flex-col');