Improved UI tests
This commit is contained in:
parent
223353cf4d
commit
36282e362f
@ -396,7 +396,8 @@ function testOp(browser, opName, input, output, args=[]) {
|
|||||||
.setValue("#input-text", input)
|
.setValue("#input-text", input)
|
||||||
.pause(250)
|
.pause(250)
|
||||||
.click("#bake")
|
.click("#bake")
|
||||||
.waitForElementPresent("#stale-indicator.hidden", 1000);
|
.waitForElementPresent("#stale-indicator.hidden", 1000)
|
||||||
|
.waitForElementNotVisible("#output-loader", 5000);
|
||||||
|
|
||||||
if (typeof output === "string") {
|
if (typeof output === "string") {
|
||||||
browser.expect.element("#output-text").to.have.value.that.equals(output);
|
browser.expect.element("#output-text").to.have.value.that.equals(output);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user