Improved UI tests

This commit is contained in:
n1474335 2021-01-22 16:06:44 +00:00
parent 36282e362f
commit 3f035294a6
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,5 @@
{
"src_folders": ["tests/browser"],
"src_folders": ["tests/browser/ops.js"],
"output_folder": "tests/browser/output",
"test_settings": {

View file

@ -394,6 +394,7 @@ function testOp(browser, opName, input, output, args=[]) {
.click("#clr-io")
.urlHash("recipe=" + recipeConfig)
.setValue("#input-text", input)
.waitForElementVisible("#stale-indicator", 1000)
.pause(250)
.click("#bake")
.waitForElementPresent("#stale-indicator.hidden", 1000)