From e23d6ff6417685e0ebd84c15e29ef495cc52adf6 Mon Sep 17 00:00:00 2001 From: anantmendiratta Date: Wed, 22 Jul 2026 03:48:06 +0530 Subject: [PATCH] test(admin): await catalog sync settings load --- .../src/components/KnowledgeBase/CatalogSyncPanel.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () => {