mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 14:54:37 +00:00
- Remove comfyPageFixture re-export from ComfyPage.ts - Update all test imports to use comfyPageFixture from its own file - Update README.md example to show correct import path - Fixes: comfyPageFixture → LocalhostComfyPage → ComfyPage circular import
15 lines
447 B
TypeScript
15 lines
447 B
TypeScript
import { expect } from '@playwright/test'
|
|
|
|
import { comfyPageFixture as test } from '../fixtures/comfyPageFixture'
|
|
|
|
test.beforeEach(async ({ comfyPage }) => {
|
|
await comfyPage.setSetting('Comfy.UseNewMenu', 'Disabled')
|
|
})
|
|
|
|
test.describe('Note Node', () => {
|
|
test('Can load node nodes', async ({ comfyPage }) => {
|
|
await comfyPage.loadWorkflow('nodes/note_nodes')
|
|
await expect(comfyPage.canvas).toHaveScreenshot('note_nodes.png')
|
|
})
|
|
})
|