diff --git a/browser_tests/interaction.spec.ts b/browser_tests/interaction.spec.ts index 1863c73f0..b04c16061 100644 --- a/browser_tests/interaction.spec.ts +++ b/browser_tests/interaction.spec.ts @@ -422,3 +422,15 @@ test.describe('Load duplicate workflow', () => { expect(await comfyPage.getGraphNodesCount()).toBe(1) }) }) + +test.describe('Menu interactions', () => { + test('Can open settings with hotkey', async ({ comfyPage }) => { + await comfyPage.page.keyboard.down('Control') + await comfyPage.page.keyboard.press(',') + await comfyPage.page.keyboard.up('Control') + const settingsLocator = comfyPage.page.locator('.settings-container') + await expect(settingsLocator).toBeVisible() + await comfyPage.page.keyboard.press('Escape') + await expect(settingsLocator).not.toBeVisible() + }) +})