mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 06:20:11 +00:00
fix: use getByRole('dialog') instead of .p-dialog selector
This commit is contained in:
@@ -12,7 +12,7 @@ async function openSignInDialog(page: Page) {
|
||||
await page.evaluate(() => {
|
||||
void window.app!.extensionManager.dialog.showSignInDialog()
|
||||
})
|
||||
const dialog = page.locator('.p-dialog')
|
||||
const dialog = page.getByRole('dialog')
|
||||
await dialog.waitFor({ state: 'visible' })
|
||||
return dialog
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user