fix(ci): add license to ingest-types, fix E2E search selector

- Add MIT license to @comfyorg/ingest-types package.json (fixes
  validate-licenses CI check)
- Fix search input selector: ComboboxInput renders role="combobox",
  not role="searchbox". Use getByPlaceholder(/search/i) instead.
- Increase debounce wait from 300ms to 500ms for CI stability.
This commit is contained in:
dante01yoon
2026-03-28 23:19:38 +09:00
parent 8de8cdbeac
commit c964fb365e
2 changed files with 5 additions and 3 deletions

View File

@@ -22,18 +22,19 @@ test.describe(
await comfyPage.templates.expectMinimumCardCount(1)
const dialog = comfyPage.page.getByRole('dialog')
const searchInput = dialog.getByRole('searchbox')
const searchInput = dialog.getByPlaceholder(/search/i)
await expect(searchInput).toBeVisible()
const beforeCount = await comfyPage.templates.allTemplateCards.count()
await searchInput.fill('zzz_nonexistent_template_xyz')
await comfyPage.page.waitForTimeout(300)
await comfyPage.page.waitForTimeout(500)
const afterCount = await comfyPage.templates.allTemplateCards.count()
expect(afterCount).toBeLessThan(beforeCount)
await searchInput.clear()
await comfyPage.page.waitForTimeout(300)
await comfyPage.page.waitForTimeout(500)
await comfyPage.templates.expectMinimumCardCount(1)
})

View File

@@ -2,6 +2,7 @@
"name": "@comfyorg/ingest-types",
"version": "1.0.0",
"description": "Comfy Cloud Ingest API TypeScript types and Zod schemas",
"license": "MIT",
"type": "module",
"exports": {
".": "./src/index.ts",