mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fixed UI test problems caused by timing
This commit is contained in:
@@ -34,7 +34,7 @@ functionNode.prototype.setFunction = function(func) {
|
||||
browser.keys(['Control', 'Shift', 'End', 'Shift', 'Control']);
|
||||
browser.keys(['Delete']);
|
||||
// Need to wait until ace editor correctly checks the syntax.
|
||||
browser.pause(50);
|
||||
browser.pause(300);
|
||||
}
|
||||
|
||||
module.exports = functionNode;
|
||||
|
@@ -41,6 +41,8 @@ templateNode.prototype.setTemplate = function(template) {
|
||||
}
|
||||
browser.keys(['Control', 'Shift', 'End', 'Shift', 'Control']);
|
||||
browser.keys(['Delete']);
|
||||
// Need to wait until ace editor correctly checks the syntax.
|
||||
browser.pause(300);
|
||||
}
|
||||
|
||||
module.exports = templateNode;
|
||||
|
Reference in New Issue
Block a user