This commit is contained in:
LanYunDev 2025-02-15 22:56:00 +00:00 committed by GitHub
commit 95a7de14f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 1917 additions and 2190 deletions

View file

@ -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

View file

@ -1,6 +1,6 @@
import TestRegister from "../../lib/TestRegister.mjs";
import Categories from "../../../src/core/config/Categories.json" assert {type: "json"};
import OperationConfig from "../../../src/core/config/OperationConfig.json" assert {type: "json"};
import Categories from "../../../src/core/config/Categories.json" with {type: "json"};
import OperationConfig from "../../../src/core/config/OperationConfig.json" with {type: "json"};
import it from "../assertionHandler.mjs";
import assert from "assert";