Fixed UI test problems caused by timing

This commit is contained in:
nakanishi
2018-10-31 09:27:33 +09:00
parent c0d8f904b3
commit d033c24fe5
12 changed files with 75 additions and 60 deletions

View File

@@ -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;

View File

@@ -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;