mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-25 01:06:16 -04:00
Input now uses CodeMirror editor
This commit is contained in:
parent
54fdc05e3a
commit
85ffe48743
17 changed files with 666 additions and 182 deletions
|
@ -82,7 +82,7 @@ module.exports = {
|
|||
// Enter input
|
||||
browser
|
||||
.useCss()
|
||||
.setValue("#input-text", "Don't Panic.")
|
||||
.setValue("#input-text", "Don't Panic.") // TODO
|
||||
.pause(1000)
|
||||
.click("#bake");
|
||||
|
||||
|
|
|
@ -409,16 +409,16 @@ function bakeOp(browser, opName, input, args=[]) {
|
|||
.click("#clr-recipe")
|
||||
.click("#clr-io")
|
||||
.waitForElementNotPresent("#rec-list li.operation")
|
||||
.expect.element("#input-text").to.have.property("value").that.equals("");
|
||||
.expect.element("#input-text").to.have.property("value").that.equals(""); // TODO
|
||||
|
||||
browser
|
||||
.perform(function() {
|
||||
console.log(`Current test: ${opName}`);
|
||||
})
|
||||
.urlHash("recipe=" + recipeConfig)
|
||||
.setValue("#input-text", input)
|
||||
.setValue("#input-text", input) // TODO
|
||||
.waitForElementPresent("#rec-list li.operation")
|
||||
.expect.element("#input-text").to.have.property("value").that.equals(input);
|
||||
.expect.element("#input-text").to.have.property("value").that.equals(input); // TODO
|
||||
|
||||
browser
|
||||
.waitForElementVisible("#stale-indicator", 5000)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue