More test tweaks

This commit is contained in:
n1474335 2024-04-24 18:09:15 +01:00
parent 2e76e44a5a
commit b7a7eebc78
No known key found for this signature in database
GPG key ID: D15457B7B4AF3F37

View file

@ -173,9 +173,15 @@ module.exports = {
browser.waitForElementVisible("#stale-indicator"); browser.waitForElementVisible("#stale-indicator");
browser.expect.element("#auto-bake").to.not.be.selected;
// Enable previously disabled autobake // Enable previously disabled autobake
browser.click("#auto-bake-label"); browser.click("#auto-bake-label");
browser.waitUntil(() => {
return browser.expect.element("#auto-bake").to.be.selected;
}, 1000);
browser.sendKeys("#input-text .cm-content", "1"); browser.sendKeys("#input-text .cm-content", "1");
browser.waitForElementVisible("#output-loader"); browser.waitForElementVisible("#output-loader");