Skip to content

Commit 4e1b871

Browse files

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

browser_tests/tests/templates.spec.ts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -210,28 +210,6 @@ test.describe('Templates', () => {
210210
await expect(nav).toBeVisible() // Nav should be visible at tablet size
211211
})
212212

213-
test('hover effects work on template cards', async ({ comfyPage }) => {
214-
// Open templates dialog
215-
await comfyPage.executeCommand('Comfy.BrowseTemplates')
216-
await expect(comfyPage.templates.content).toBeVisible()
217-
218-
// Get a template card using data-testid
219-
const firstCard = comfyPage.page
220-
.locator('[data-testid^="template-workflow-"]')
221-
.first()
222-
await expect(firstCard).toBeVisible({ timeout: 5000 })
223-
224-
// Check initial state - card should have transition classes
225-
// Take snapshot before hover
226-
await expect(firstCard).toHaveScreenshot('template-card-before-hover.png')
227-
228-
// Hover over the card
229-
await firstCard.hover()
230-
231-
// Take snapshot after hover to verify hover effect
232-
await expect(firstCard).toHaveScreenshot('template-card-after-hover.png')
233-
})
234-
235213
test('template cards descriptions adjust height dynamically', async ({
236214
comfyPage
237215
}) => {

browser_tests/tests/versionMismatchWarnings.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ test.describe('Version Mismatch Warnings', () => {
8585
test('should persist dismissed state across sessions', async ({
8686
comfyPage
8787
}) => {
88+
test.setTimeout(30_000)
8889
// Mock system_stats route to indicate that the installed version is always ahead of the required version
8990
await comfyPage.page.route('**/system_stats**', async (route) => {
9091
await route.fulfill({

0 commit comments

Comments
 (0)