Improved UI tests
This commit is contained in:
parent
7d8bdbcf7e
commit
98d7f1481c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user