mirror of
https://github.com/gchq/CyberChef
synced 2025-01-01 07:18:47 +00:00
Improved UI tests
This commit is contained in:
parent
36282e362f
commit
3f035294a6
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"src_folders": ["tests/browser"],
|
"src_folders": ["tests/browser/ops.js"],
|
||||||
"output_folder": "tests/browser/output",
|
"output_folder": "tests/browser/output",
|
||||||
|
|
||||||
"test_settings": {
|
"test_settings": {
|
||||||
|
|
|
@ -394,6 +394,7 @@ 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)
|
||||||
.pause(250)
|
.pause(250)
|
||||||
.click("#bake")
|
.click("#bake")
|
||||||
.waitForElementPresent("#stale-indicator.hidden", 1000)
|
.waitForElementPresent("#stale-indicator.hidden", 1000)
|
||||||
|
|
Loading…
Reference in a new issue