From 36282e362ff35205766a39ec43b9e4b2c567fbab Mon Sep 17 00:00:00 2001 From: n1474335 Date: Fri, 22 Jan 2021 15:53:56 +0000 Subject: [PATCH] Improved UI tests --- tests/browser/ops.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/browser/ops.js b/tests/browser/ops.js index 763cb11b..55d4eee4 100644 --- a/tests/browser/ops.js +++ b/tests/browser/ops.js @@ -396,7 +396,8 @@ function testOp(browser, opName, input, output, args=[]) { .setValue("#input-text", input) .pause(250) .click("#bake") - .waitForElementPresent("#stale-indicator.hidden", 1000); + .waitForElementPresent("#stale-indicator.hidden", 1000) + .waitForElementNotVisible("#output-loader", 5000); if (typeof output === "string") { browser.expect.element("#output-text").to.have.value.that.equals(output);