mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-19 22:09:37 +00:00
fix: use .first() in waitForNodes to avoid strict mode violation
waitForSelector tolerates multiple matches but locator().waitFor() enforces strict single-element matching. The default workflow has 7 nodes, so the bare locator always fails. Amp-Thread-ID: https://ampcode.com/threads/T-019d797f-578f-7399-bc07-e278fa246f3f Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
@@ -146,7 +146,7 @@ export class VueNodeHelpers {
|
||||
expectedCount
|
||||
)
|
||||
} else {
|
||||
await this.page.locator('[data-node-id]').waitFor()
|
||||
await this.page.locator('[data-node-id]').first().waitFor()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user