1
0
mirror of synced 2024-11-28 00:20:48 +01:00

Improved UI tests

This commit is contained in:
n1474335 2021-01-22 16:25:19 +00:00
parent d7bc529a95
commit db009d3689

View File

@ -394,11 +394,11 @@ function testOp(browser, opName, input, output, args=[]) {
.click("#clr-io")
.urlHash("recipe=" + recipeConfig)
.setValue("#input-text", input)
.waitForElementVisible("#stale-indicator", 1000)
.waitForElementVisible("#stale-indicator", 5000)
.pause(100)
.click("#bake")
.pause(150)
.waitForElementPresent("#stale-indicator.hidden", 1000)
.waitForElementPresent("#stale-indicator.hidden", 5000)
.waitForElementNotVisible("#output-loader", 5000);
if (typeof output === "string") {