mirror of
https://github.com/gchq/CyberChef
synced 2025-12-11 05:43:28 +00:00
Improved UI tests
This commit is contained in:
@@ -394,11 +394,11 @@ function testOp(browser, opName, input, output, args=[]) {
|
|||||||
.click("#clr-io")
|
.click("#clr-io")
|
||||||
.urlHash("recipe=" + recipeConfig)
|
.urlHash("recipe=" + recipeConfig)
|
||||||
.setValue("#input-text", input)
|
.setValue("#input-text", input)
|
||||||
.waitForElementVisible("#stale-indicator", 1000)
|
.waitForElementVisible("#stale-indicator", 5000)
|
||||||
.pause(100)
|
.pause(100)
|
||||||
.click("#bake")
|
.click("#bake")
|
||||||
.pause(150)
|
.pause(150)
|
||||||
.waitForElementPresent("#stale-indicator.hidden", 1000)
|
.waitForElementPresent("#stale-indicator.hidden", 5000)
|
||||||
.waitForElementNotVisible("#output-loader", 5000);
|
.waitForElementNotVisible("#output-loader", 5000);
|
||||||
|
|
||||||
if (typeof output === "string") {
|
if (typeof output === "string") {
|
||||||
|
|||||||
Reference in New Issue
Block a user