mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 06:55:08 -04:00
Output now uses CodeMirror editor
This commit is contained in:
parent
bc949b47d9
commit
68733c74cc
14 changed files with 665 additions and 495 deletions
|
@ -443,9 +443,9 @@ function testOp(browser, opName, input, output, args=[]) {
|
|||
bakeOp(browser, opName, input, args);
|
||||
|
||||
if (typeof output === "string") {
|
||||
browser.expect.element("#output-text").to.have.property("value").that.equals(output);
|
||||
browser.expect.element("#output-text").to.have.property("value").that.equals(output); // TODO
|
||||
} else if (output instanceof RegExp) {
|
||||
browser.expect.element("#output-text").to.have.property("value").that.matches(output);
|
||||
browser.expect.element("#output-text").to.have.property("value").that.matches(output); // TODO
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -463,8 +463,8 @@ function testOpHtml(browser, opName, input, cssSelector, output, args=[]) {
|
|||
bakeOp(browser, opName, input, args);
|
||||
|
||||
if (typeof output === "string") {
|
||||
browser.expect.element("#output-html " + cssSelector).text.that.equals(output);
|
||||
browser.expect.element("#output-html " + cssSelector).text.that.equals(output); // TODO
|
||||
} else if (output instanceof RegExp) {
|
||||
browser.expect.element("#output-html " + cssSelector).text.that.matches(output);
|
||||
browser.expect.element("#output-html " + cssSelector).text.that.matches(output); // TODO
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue