mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-19 22:09:37 +00:00
fix: use .p-contextmenu selector for menu readiness check
This commit is contained in:
@@ -15,7 +15,7 @@ async function openMoreOptions(comfyPage: ComfyPage) {
|
||||
|
||||
// Wait for the context menu to appear by checking for 'Copy', which is
|
||||
// always present regardless of single or multi-node selection.
|
||||
const menu = comfyPage.page.locator('.p-popover')
|
||||
const menu = comfyPage.page.locator('.p-contextmenu')
|
||||
await expect(menu.getByText('Copy', { exact: true })).toBeVisible()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user