mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-03 04:31:58 +00:00
fix: browser test fixes for flaky selectors and missing setup
- SidebarTab: Use placeholder selector instead of test ID for search input - KeyboardHelper: Remove redundant canvas fallback (null is valid) - groupNode: Use variable for category name instead of hardcoded string - nodeLibrary: Ensure tab is open before filling search input - subgraph: Reload workflow after page reload to restore state - useSettingSearch: Use role selector and simplify selected class assertion Amp-Thread-ID: https://ampcode.com/threads/T-019c18c2-667a-7179-bb2d-86f35cd1d7b0 Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
@@ -29,7 +29,7 @@ test.describe('Group Node', { tag: '@node' }, () => {
|
||||
test('Is added to node library sidebar', async ({
|
||||
comfyPage: _comfyPage
|
||||
}) => {
|
||||
expect(await libraryTab.getFolder('group nodes').count()).toBe(1)
|
||||
expect(await libraryTab.getFolder(groupNodeCategory).count()).toBe(1)
|
||||
})
|
||||
|
||||
test('Can be added to canvas using node library sidebar', async ({
|
||||
|
||||
Reference in New Issue
Block a user