mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-30 04:50:04 +00:00
* Fix loading workflow from of edited webp * Update test expectations [skip ci] --------- Co-authored-by: github-actions <github-actions@github.com>
14 lines
463 B
TypeScript
14 lines
463 B
TypeScript
import { expect } from '@playwright/test'
|
|
import { comfyPageFixture as test } from './ComfyPage'
|
|
|
|
test.describe('Load Workflow in Media', () => {
|
|
;['workflow.webp', 'edited_workflow.webp', 'no_workflow.webp'].forEach(
|
|
async (fileName) => {
|
|
test(`Load workflow in ${fileName}`, async ({ comfyPage }) => {
|
|
await comfyPage.dragAndDropFile(fileName)
|
|
await expect(comfyPage.canvas).toHaveScreenshot(`${fileName}.png`)
|
|
})
|
|
}
|
|
)
|
|
})
|