mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 06:19:58 +00:00
[automated] Apply ESLint and Oxfmt fixes
This commit is contained in:
@@ -14,20 +14,14 @@ test.describe('Properties panel', () => {
|
||||
|
||||
await expect(propertiesPanel.panelTitle).toContainText('3 items selected')
|
||||
await expect(propertiesPanel.root.getByText('KSampler')).toHaveCount(1)
|
||||
await expect(
|
||||
propertiesPanel.root.getByText('VAE Decode')
|
||||
).toHaveCount(2)
|
||||
await expect(propertiesPanel.root.getByText('VAE Decode')).toHaveCount(2)
|
||||
|
||||
await propertiesPanel.searchBox.fill('seed')
|
||||
await expect(propertiesPanel.root.getByText('KSampler')).toHaveCount(1)
|
||||
await expect(
|
||||
propertiesPanel.root.getByText('VAE Decode')
|
||||
).toHaveCount(0)
|
||||
await expect(propertiesPanel.root.getByText('VAE Decode')).toHaveCount(0)
|
||||
|
||||
await propertiesPanel.searchBox.fill('')
|
||||
await expect(propertiesPanel.root.getByText('KSampler')).toHaveCount(1)
|
||||
await expect(
|
||||
propertiesPanel.root.getByText('VAE Decode')
|
||||
).toHaveCount(2)
|
||||
await expect(propertiesPanel.root.getByText('VAE Decode')).toHaveCount(2)
|
||||
})
|
||||
})
|
||||
|
||||
@@ -145,9 +145,7 @@ test.describe('Properties panel basic functionality', { tag: ['@ui'] }, () => {
|
||||
await comfyPage.selectNodes(['KSampler', 'VAE Decode'])
|
||||
|
||||
await expect(propertiesPanel.root.getByText('KSampler')).toBeVisible()
|
||||
await expect(
|
||||
propertiesPanel.root.getByText('VAE Decode')
|
||||
).toBeVisible()
|
||||
await expect(propertiesPanel.root.getByText('VAE Decode')).toBeVisible()
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -31,9 +31,7 @@ test.describe('Properties panel search functionality', { tag: ['@ui'] }, () => {
|
||||
await propertiesPanel.searchBox.fill('')
|
||||
|
||||
await expect(propertiesPanel.root.getByText('KSampler')).toBeVisible()
|
||||
await expect(
|
||||
propertiesPanel.root.getByText('VAE Decode')
|
||||
).toBeVisible()
|
||||
await expect(propertiesPanel.root.getByText('VAE Decode')).toBeVisible()
|
||||
})
|
||||
|
||||
test('shows no results message when search matches nothing', async ({
|
||||
|
||||
Reference in New Issue
Block a user