[automated] Apply ESLint and Oxfmt fixes

This commit is contained in:
GitHub Action
2026-03-16 13:57:30 +00:00
parent d370b182e7
commit 1d231bd988
2 changed files with 5 additions and 11 deletions

View File

@@ -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()

View File

@@ -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'