Skip to content

Commit

Permalink
More test tweaking
Browse files Browse the repository at this point in the history
  • Loading branch information
n1474335 committed Mar 26, 2024
1 parent f1dcc33 commit ee77e0a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/browser/00_nightwatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ module.exports = {

// Open category
browser
.useCss()
.waitForElementNotVisible("#snackbar-container", 10000)
.useXpath()
.click(otherCat)
.expect.element(genUUID).to.be.visible;

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ee77e0a

Please sign in to comment.