mirror of
https://github.com/gchq/CyberChef
synced 2024-11-15 09:07:06 +00:00
Improved UI tests
This commit is contained in:
parent
223353cf4d
commit
36282e362f
1 changed files with 2 additions and 1 deletions
|
@ -396,7 +396,8 @@ function testOp(browser, opName, input, output, args=[]) {
|
|||
.setValue("#input-text", input)
|
||||
.pause(250)
|
||||
.click("#bake")
|
||||
.waitForElementPresent("#stale-indicator.hidden", 1000);
|
||||
.waitForElementPresent("#stale-indicator.hidden", 1000)
|
||||
.waitForElementNotVisible("#output-loader", 5000);
|
||||
|
||||
if (typeof output === "string") {
|
||||
browser.expect.element("#output-text").to.have.value.that.equals(output);
|
||||
|
|
Loading…
Reference in a new issue