Skip to content

Commit

Permalink
Improve bake test tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
LanYunDev committed Dec 29, 2024
1 parent 286836d commit 891e12a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/browser/browserUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 891e12a

Please sign in to comment.