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)