mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-08 00:50:05 +00:00
Fix undo-redo expectations
This commit is contained in:
@@ -64,7 +64,7 @@ test.describe('Change Tracker', () => {
|
||||
await expect(comfyPage.canvas).toHaveScreenshot('undo-step1.png')
|
||||
|
||||
comfyPage.ctrlZ()
|
||||
await expect(comfyPage.canvas).toHaveScreenshot('undo-step2.png')
|
||||
await expect(comfyPage.canvas).toHaveScreenshot('undo-initial-state.png')
|
||||
|
||||
comfyPage.dragAndDrop(
|
||||
comfyPage.clipTextEncodeNode1OutputSlot,
|
||||
@@ -73,7 +73,10 @@ test.describe('Change Tracker', () => {
|
||||
await expect(comfyPage.canvas).toHaveScreenshot('undo-step3.png')
|
||||
|
||||
comfyPage.ctrlZ()
|
||||
await expect(comfyPage.canvas).toHaveScreenshot('undo-step4.png')
|
||||
await expect(comfyPage.canvas).toHaveScreenshot('undo-initial-state.png')
|
||||
|
||||
comfyPage.ctrlY()
|
||||
await expect(comfyPage.canvas).toHaveScreenshot('undo-step3.png')
|
||||
})
|
||||
|
||||
test('Can group multiple change actions into a single transaction', async ({
|
||||
|
||||
Reference in New Issue
Block a user