From 96d129e8a614de79b172a9719f65193d97d86b23 Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Mon, 26 Aug 2024 11:31:46 -0400 Subject: [PATCH] Fix edit attention test (#640) --- browser_tests/interaction.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/browser_tests/interaction.spec.ts b/browser_tests/interaction.spec.ts index 42d8a7df6..91fc29b19 100644 --- a/browser_tests/interaction.spec.ts +++ b/browser_tests/interaction.spec.ts @@ -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') })