mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Use enter key to open node property instead of double click
This commit is contained in:
parent
530bf22bd5
commit
214d788029
@ -19,8 +19,11 @@ function Node(id) {
|
||||
}
|
||||
|
||||
Node.prototype.edit = function () {
|
||||
browser.clickWithWait(this.id);
|
||||
browser.clickWithWait(this.id);
|
||||
browser.waitForVisible(this.id);
|
||||
browser.moveToObject(this.id);
|
||||
browser.buttonDown();
|
||||
browser.buttonUp();
|
||||
browser.keys(['Enter']);
|
||||
// Wait until an edit dialog opens.
|
||||
browser.waitForVisible('#node-dialog-ok', 10000);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user