mirror of
https://github.com/gchq/CyberChef
synced 2024-12-29 14:03:10 +00:00
More test tweaking
This commit is contained in:
parent
f1dcc339b3
commit
ee77e0a1e4
1 changed files with 4 additions and 1 deletions
|
@ -194,6 +194,9 @@ module.exports = {
|
|||
|
||||
// Open category
|
||||
browser
|
||||
.useCss()
|
||||
.waitForElementNotVisible("#snackbar-container", 10000)
|
||||
.useXpath()
|
||||
.click(otherCat)
|
||||
.expect.element(genUUID).to.be.visible;
|
||||
|
||||
|
@ -232,7 +235,7 @@ module.exports = {
|
|||
browser
|
||||
.waitForElementNotVisible("#snackbar-container")
|
||||
.click("#copy-output")
|
||||
.waitForElementVisible("#snackbar-container .snackbar-content", 5000, 100, false)
|
||||
.waitForElementVisible("#snackbar-container .snackbar-content")
|
||||
.expect.element("#snackbar-container .snackbar-content").text.to.equal("Copied raw output successfully.");
|
||||
|
||||
// Alert bar disappears after the correct amount of time
|
||||
|
|
Loading…
Reference in a new issue