mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-03 12:42:01 +00:00
test: remove unused select2Nodes and fix flaky timeout
- Remove select2Nodes helper method from NodeOperationsHelper - Replace usages with selectNodes(['CLIP Text Encode (Prompt)']) - Increase flaky timeout in mobileBaseline test from 256ms to 5000ms Amp-Thread-ID: https://ampcode.com/threads/T-019c15b9-efed-72eb-b092-1e92a11f44e3 Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
@@ -100,14 +100,6 @@ export class NodeOperationsHelper {
|
||||
await this.comfyPage.nextFrame()
|
||||
}
|
||||
|
||||
async select2Nodes(): Promise<void> {
|
||||
await this.page.keyboard.down('Control')
|
||||
await this.comfyPage.clickTextEncodeNode1()
|
||||
await this.comfyPage.clickTextEncodeNode2()
|
||||
await this.page.keyboard.up('Control')
|
||||
await this.comfyPage.nextFrame()
|
||||
}
|
||||
|
||||
async resizeNode(
|
||||
nodePos: Position,
|
||||
nodeSize: Size,
|
||||
|
||||
Reference in New Issue
Block a user