diff --git a/browser_tests/tests/templates.spec.ts b/browser_tests/tests/templates.spec.ts index bb8f30cf2..625233213 100644 --- a/browser_tests/tests/templates.spec.ts +++ b/browser_tests/tests/templates.spec.ts @@ -210,28 +210,6 @@ test.describe('Templates', () => { await expect(nav).toBeVisible() // Nav should be visible at tablet size }) - test('hover effects work on template cards', async ({ comfyPage }) => { - // Open templates dialog - await comfyPage.executeCommand('Comfy.BrowseTemplates') - await expect(comfyPage.templates.content).toBeVisible() - - // Get a template card using data-testid - const firstCard = comfyPage.page - .locator('[data-testid^="template-workflow-"]') - .first() - await expect(firstCard).toBeVisible({ timeout: 5000 }) - - // Check initial state - card should have transition classes - // Take snapshot before hover - await expect(firstCard).toHaveScreenshot('template-card-before-hover.png') - - // Hover over the card - await firstCard.hover() - - // Take snapshot after hover to verify hover effect - await expect(firstCard).toHaveScreenshot('template-card-after-hover.png') - }) - test('template cards descriptions adjust height dynamically', async ({ comfyPage }) => { diff --git a/browser_tests/tests/versionMismatchWarnings.spec.ts b/browser_tests/tests/versionMismatchWarnings.spec.ts index eee6fda92..4b3ff3e30 100644 --- a/browser_tests/tests/versionMismatchWarnings.spec.ts +++ b/browser_tests/tests/versionMismatchWarnings.spec.ts @@ -85,6 +85,7 @@ test.describe('Version Mismatch Warnings', () => { test('should persist dismissed state across sessions', async ({ comfyPage }) => { + test.setTimeout(30_000) // Mock system_stats route to indicate that the installed version is always ahead of the required version await comfyPage.page.route('**/system_stats**', async (route) => { await route.fulfill({