diff --git a/apps/admin/src/components/KnowledgeBase/CatalogSyncPanel.test.tsx b/apps/admin/src/components/KnowledgeBase/CatalogSyncPanel.test.tsx index 2ef8c99..09920af 100644 --- a/apps/admin/src/components/KnowledgeBase/CatalogSyncPanel.test.tsx +++ b/apps/admin/src/components/KnowledgeBase/CatalogSyncPanel.test.tsx @@ -46,7 +46,7 @@ test('shows brand catalog status and opens encrypted sync settings', async () => fireEvent.click(screen.getByRole('button', { name: /Manage sync/i })); expect(await screen.findByRole('heading', { name: /Shopify Catalog Sync/i })).toBeInTheDocument(); - expect(screen.getByPlaceholderText(/Token already configured/i)).toBeInTheDocument(); + expect(await screen.findByPlaceholderText(/Token already configured/i)).toBeInTheDocument(); }); test('saves the store URL and never requires the redacted token value', async () => {