Skip to content

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

test(skills): update test to click tile instead of stale alert button\n\nThe test was clicking a "Try again" button that belonged to a stale-status alert which has since moved to NoticeCenter. The test now clicks the degraded tile directly, which still triggers the refresh action that remains on this screen.\n\nAuto-committed-on: macbook\n

Steven Enamakelc916ffa54d88
diff --git a/app/src/pages/__tests__/Skills.composio-catalog.test.tsx b/app/src/pages/__tests__/Skills.composio-catalog.test.tsx
index 19e2851e4f..8b63bff570 100644
--- a/app/src/pages/__tests__/Skills.composio-catalog.test.tsx
+++ b/app/src/pages/__tests__/Skills.composio-catalog.test.tsx
@@ -234,7 +234,10 @@ describe('Skills page — Composio catalog fallback', () => {
expect(gmailTile).toBeInTheDocument();
expect(within(gmailTile).getByText('Status unavailable')).toBeInTheDocument();
- fireEvent.click(screen.getAllByRole('button', { name: 'Try again' })[0]);
+ // The page-level "Try again" button belonged to the stale-status alert that
+ // moved to NoticeCenter. Retry from a degraded tile still refreshes, which
+ // is the affordance that stayed on this screen.
+ fireEvent.click(gmailTile);
expect(composioRefresh).toHaveBeenCalledTimes(1);
});