mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 14:54:37 +00:00
Fix edit attention test (#640)
This commit is contained in:
@@ -231,13 +231,14 @@ test.describe('Widget Interaction', () => {
|
||||
})
|
||||
|
||||
test('Undo attention edit', async ({ comfyPage }) => {
|
||||
await comfyPage.setSetting('Comfy.EditAttention.Delta', 0.05)
|
||||
const textBox = comfyPage.widgetTextBox
|
||||
await textBox.click()
|
||||
await textBox.fill('1girl')
|
||||
await expect(textBox).toHaveValue('1girl')
|
||||
await textBox.selectText()
|
||||
await comfyPage.ctrlArrowUp()
|
||||
await expect(textBox).toHaveValue('(1girl:1.1)')
|
||||
await expect(textBox).toHaveValue('(1girl:1.05)')
|
||||
await comfyPage.ctrlZ()
|
||||
await expect(textBox).toHaveValue('1girl')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user