From 891e12ae473142c5f4f47891388d43947988352d Mon Sep 17 00:00:00 2001 From: LanYunDev <95263282+LanYunDev@users.noreply.github.com> Date: Sun, 29 Dec 2024 20:29:35 +0800 Subject: [PATCH] Improve bake test tolerance --- tests/browser/browserUtils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/browser/browserUtils.js b/tests/browser/browserUtils.js index 7711c004..d053fd13 100644 --- a/tests/browser/browserUtils.js +++ b/tests/browser/browserUtils.js @@ -52,13 +52,13 @@ function setInput(browser, input, type=true) { function bake(browser) { browser // Ensure we're not currently busy - .waitForElementNotVisible("#output-loader", 5000) + .waitForElementNotVisible("#output-loader", 6000) .expect.element("#bake span").text.to.equal("BAKE!"); browser .click("#bake") - .waitForElementNotVisible("#stale-indicator", 5000) - .waitForElementNotVisible("#output-loader", 5000); + .waitForElementNotVisible("#stale-indicator", 6000) + .waitForElementNotVisible("#output-loader", 6000); } /** @function