mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
[automated] Apply ESLint and Oxfmt fixes
This commit is contained in:
@@ -29,9 +29,7 @@ test.describe('Queue Notification Banners', { tag: '@ui' }, () => {
|
||||
await comfyPage.page.keyboard.press('Escape')
|
||||
await comfyPage.command.executeCommand('Comfy.QueuePrompt')
|
||||
|
||||
const errorOverlay = comfyPage.page.locator(
|
||||
'[data-testid="error-overlay"]'
|
||||
)
|
||||
const errorOverlay = comfyPage.page.locator('[data-testid="error-overlay"]')
|
||||
await expect(errorOverlay).toBeVisible()
|
||||
})
|
||||
|
||||
@@ -40,9 +38,7 @@ test.describe('Queue Notification Banners', { tag: '@ui' }, () => {
|
||||
await comfyPage.page.keyboard.press('Escape')
|
||||
await comfyPage.command.executeCommand('Comfy.QueuePrompt')
|
||||
|
||||
const errorOverlay = comfyPage.page.locator(
|
||||
'[data-testid="error-overlay"]'
|
||||
)
|
||||
const errorOverlay = comfyPage.page.locator('[data-testid="error-overlay"]')
|
||||
await expect(errorOverlay).toBeVisible()
|
||||
await expect(errorOverlay).not.toHaveText('')
|
||||
})
|
||||
@@ -52,9 +48,7 @@ test.describe('Queue Notification Banners', { tag: '@ui' }, () => {
|
||||
await comfyPage.page.keyboard.press('Escape')
|
||||
await comfyPage.command.executeCommand('Comfy.QueuePrompt')
|
||||
|
||||
const errorOverlay = comfyPage.page.locator(
|
||||
'[data-testid="error-overlay"]'
|
||||
)
|
||||
const errorOverlay = comfyPage.page.locator('[data-testid="error-overlay"]')
|
||||
await expect(errorOverlay).toBeVisible()
|
||||
|
||||
await errorOverlay.getByRole('button', { name: /Dismiss/i }).click()
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<div
|
||||
v-if="videoError"
|
||||
role="alert"
|
||||
class="flex flex-auto flex-col items-center justify-center bg-muted-background text-center text-base-foreground py-8"
|
||||
class="flex flex-auto flex-col items-center justify-center bg-muted-background py-8 text-center text-base-foreground"
|
||||
>
|
||||
<i class="mb-2 icon-[lucide--video-off] size-12 text-base-foreground" />
|
||||
<p class="text-sm text-base-foreground">
|
||||
@@ -247,7 +247,7 @@ const handleFocusOut = (event: FocusEvent) => {
|
||||
|
||||
const getNavigationDotClass = (index: number) =>
|
||||
cn(
|
||||
'size-2 rounded-full transition-all duration-200 border-0 cursor-pointer',
|
||||
'size-2 cursor-pointer rounded-full border-0 transition-all duration-200',
|
||||
index === currentIndex.value
|
||||
? 'bg-base-foreground'
|
||||
: 'bg-base-foreground/50 hover:bg-base-foreground/80'
|
||||
|
||||
Reference in New Issue
Block a user