fix: use .p-contextmenu selector for menu readiness check

This commit is contained in:
dante01yoon
2026-04-11 13:47:02 +09:00
parent 2dd3747ad2
commit c6fa971bde

View File

@@ -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()
}