Commit 75e4e25a authored by Sam Saccone's avatar Sam Saccone

tests: Add slight delay between rapid fire tests

* Gives us a bit more flex around some frameworks
parent aaff5c8f
...@@ -48,6 +48,7 @@ list.forEach(function (framework) { ...@@ -48,6 +48,7 @@ list.forEach(function (framework) {
}, },
action: function (name) { action: function (name) {
driver.wait(function () { driver.wait(function () {
driver.sleep(500);
return driver.findElement(drool.webdriver.By.css(newTodoSelector(name))) return driver.findElement(drool.webdriver.By.css(newTodoSelector(name)))
.sendKeys('find magical goats', drool.webdriver.Key.ENTER) .sendKeys('find magical goats', drool.webdriver.Key.ENTER)
.thenCatch(function () { .thenCatch(function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment