Improved UI tests

This commit is contained in:
n1474335 2021-01-22 15:53:56 +00:00
parent 223353cf4d
commit 36282e362f

View file

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