Wait for stale indicator to disappear before clicking bake.

As the new inputWorker is slower, nightwatch was clicking cancel and thus showing the stale indicator.
This commit is contained in:
j433866 2019-05-01 17:09:13 +01:00
parent ff9c68db56
commit 1bdef97dc7
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ module.exports = {
browser
.useCss()
.setValue("#input-text", "Don't Panic.")
.waitForElementNotVisible("#stale-indicator", 1000)
.click("#bake");
// Check output