diff --git a/browser_tests/tests/templates.spec.ts b/browser_tests/tests/templates.spec.ts index e62d0f08d..bb8f30cf2 100644 --- a/browser_tests/tests/templates.spec.ts +++ b/browser_tests/tests/templates.spec.ts @@ -181,6 +181,7 @@ test.describe('Templates', () => { }) => { // Open templates dialog await comfyPage.executeCommand('Comfy.BrowseTemplates') + await comfyPage.templates.content.waitFor({ state: 'visible' }) const templateGrid = comfyPage.page.locator( '[data-testid="template-workflows-content"]'