Improved UI tests

This commit is contained in:
n1474335 2021-01-22 16:16:11 +00:00
parent 3f035294a6
commit d7bc529a95
2 changed files with 3 additions and 2 deletions

View file

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

View file

@ -395,8 +395,9 @@ function testOp(browser, opName, input, output, args=[]) {
.urlHash("recipe=" + recipeConfig)
.setValue("#input-text", input)
.waitForElementVisible("#stale-indicator", 1000)
.pause(250)
.pause(100)
.click("#bake")
.pause(150)
.waitForElementPresent("#stale-indicator.hidden", 1000)
.waitForElementNotVisible("#output-loader", 5000);