From 1bdef97dc7c8931aee7481a863c0a954098088ab Mon Sep 17 00:00:00 2001 From: j433866 Date: Wed, 1 May 2019 17:09:13 +0100 Subject: [PATCH] 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. --- tests/browser/nightwatch.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/browser/nightwatch.js b/tests/browser/nightwatch.js index 23100d8d..52b4e7bb 100644 --- a/tests/browser/nightwatch.js +++ b/tests/browser/nightwatch.js @@ -82,6 +82,7 @@ module.exports = { browser .useCss() .setValue("#input-text", "Don't Panic.") + .waitForElementNotVisible("#stale-indicator", 1000) .click("#bake"); // Check output