Skip to content

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

test(skills): update composio catalog tests for stale-status relocation\n\nThe test assertions for the stale-status alert and the backend-unavailable message were removed because those indicators moved from the Skills page into the shell's NoticeCenter component, where they are now tested separately. The loading-state assertion was also updated to use the new composio-integrations-loading-row test ID, reflecting a change in how the loading skeleton tiles are rendered.\n\nAuto-committed-on: macbook\n

Steven Enamakel30063417d6dc
diff --git a/app/src/pages/__tests__/Skills.composio-catalog.test.tsx b/app/src/pages/__tests__/Skills.composio-catalog.test.tsx
index 3c2ffb77d8..31d9a0349f 100644
--- a/app/src/pages/__tests__/Skills.composio-catalog.test.tsx
+++ b/app/src/pages/__tests__/Skills.composio-catalog.test.tsx
@@ -161,7 +161,9 @@ describe('Skills page — Composio catalog fallback', () => {
within(integrationsSection as HTMLElement).getByTestId('composio-integrations-loading')
).toBeInTheDocument();
expect(
- within(integrationsSection as HTMLElement).queryAllByTestId('composio-skeleton-tile').length
+ within(integrationsSection as HTMLElement).queryAllByTestId(
+ 'composio-integrations-loading-row'
+ ).length
).toBeGreaterThan(0);
// …and none of the hardcoded fallback toolkits are rendered yet.
expect(
@@ -222,8 +224,10 @@ describe('Skills page — Composio catalog fallback', () => {
renderWithProviders(<Skills />, { initialEntries: ['/connections'] });
openAppsTab();
- expect(screen.getByText('Connections are showing stale status')).toBeInTheDocument();
- expect(screen.getByText('Backend unavailable')).toBeInTheDocument();
+ // The page-level "stale status" alert moved into the shell's NoticeCenter
+ // (it is account state, not state about this screen), so it is asserted
+ // there — see `components/notices/__tests__/NoticeCenter.test.tsx`. What
+ // stays local, and is what this test is about, is the per-row degradation.
const integrationsSection = screen.getByTestId('composio-integrations-card');
const gmailTile = within(integrationsSection as HTMLElement).getByRole('button', {