From 3f035294a69eb54713edce10bc659fda6de3b059 Mon Sep 17 00:00:00 2001 From: n1474335 Date: Fri, 22 Jan 2021 16:06:44 +0000 Subject: [PATCH] Improved UI tests --- nightwatch.json | 2 +- tests/browser/ops.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nightwatch.json b/nightwatch.json index 072e6c52..93975a3e 100644 --- a/nightwatch.json +++ b/nightwatch.json @@ -1,5 +1,5 @@ { - "src_folders": ["tests/browser"], + "src_folders": ["tests/browser/ops.js"], "output_folder": "tests/browser/output", "test_settings": { diff --git a/tests/browser/ops.js b/tests/browser/ops.js index 55d4eee4..421dca30 100644 --- a/tests/browser/ops.js +++ b/tests/browser/ops.js @@ -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)