Skip to content

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

fix(skills): restore missing skills tab test

Steven Enamakel37cfe52c36ae
diff --git a/app/src/components/skills/__tests__/SkillsExplorerTab.test.tsx b/app/src/components/skills/__tests__/SkillsExplorerTab.test.tsx
index a869a2104c..6a9cf7d132 100644
--- a/app/src/components/skills/__tests__/SkillsExplorerTab.test.tsx
+++ b/app/src/components/skills/__tests__/SkillsExplorerTab.test.tsx
@@ -1030,9 +1030,9 @@ describe('SkillsExplorerTab', () => {
expect(screen.getByText('Hermes Skill')).toBeInTheDocument();
});
- const allTiles = screen
- .getAllByRole('button')
- .filter(el => el.getAttribute('data-testid')?.startsWith('skill-explorer-tile'));
+ // Installed skills render as table rows now (same row grammar as the MCP
+ // servers table), not buttons.
+ const allTiles = screen.getAllByTestId(/^skill-explorer-tile-/);
// Hermes should come first
expect(allTiles[0]).toHaveAttribute('data-testid', 'skill-explorer-tile-hermes');
expect(allTiles[1]).toHaveAttribute('data-testid', 'skill-explorer-tile-alpha');