test: add functional E2E test for SearchFilterChip remove button

This commit is contained in:
dante01yoon
2026-03-27 10:24:59 +09:00
parent d512338a2b
commit 937e9b3190

View File

@@ -39,6 +39,17 @@ test.describe(
'filter-chips-multiple.png'
)
})
test('Filter chip remove button removes the chip', async ({
comfyPage
}) => {
await comfyPage.canvasOps.doubleClick()
await comfyPage.searchBox.addFilter('MODEL', 'Input Type')
await expect(comfyPage.searchBox.filterChips).toHaveCount(1)
await comfyPage.searchBox.removeFilter(0)
await expect(comfyPage.searchBox.filterChips).toHaveCount(0)
})
})
test.describe('Node library tree badge', () => {