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

Improved UI tests

This commit is contained in:
n1474335 2021-01-22 16:52:37 +00:00
parent 7d8bdbcf7e
commit 98d7f1481c

View File

@ -392,10 +392,14 @@ function testOp(browser, opName, input, output, args=[]) {
.useCss()
.click("#clr-recipe")
.click("#clr-io")
.urlHash("recipe=" + recipeConfig)
.setValue("#input-text", input);
.waitForElementNotPresent("#rec-list li.operation")
.expect.element("#input-text").to.have.value.that.equals("");
browser.expect.element("#input-text").to.have.value.that.equals(input);
browser
.urlHash("recipe=" + recipeConfig)
.setValue("#input-text", input)
.waitForElementPresent("#rec-list li.operation")
.expect.element("#input-text").to.have.value.that.equals(input);
browser
.waitForElementVisible("#stale-indicator", 5000)