mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04: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)
|
.setValue("#input-text", input)
|
||||||
.pause(250)
|
.pause(250)
|
||||||
.click("#bake")
|
.click("#bake")
|
||||||
.waitForElementPresent("#stale-indicator.hidden", 1000);
|
.waitForElementPresent("#stale-indicator.hidden", 1000)
|
||||||
|
.waitForElementNotVisible("#output-loader", 5000);
|
||||||
|
|
||||||
if (typeof output === "string") {
|
if (typeof output === "string") {
|
||||||
browser.expect.element("#output-text").to.have.value.that.equals(output);
|
browser.expect.element("#output-text").to.have.value.that.equals(output);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue