More test tweaking

This commit is contained in:
n1474335 2024-03-26 16:10:44 +00:00
parent f1dcc339b3
commit ee77e0a1e4
No known key found for this signature in database
GPG Key ID: D15457B7B4AF3F37
1 changed files with 4 additions and 1 deletions

View File

@ -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