Skip to content

Commit ee77e0a

Browse files
committed
More test tweaking
1 parent f1dcc33 commit ee77e0a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/browser/00_nightwatch.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,9 @@ module.exports = {
194194

195195
// Open category
196196
browser
197+
.useCss()
198+
.waitForElementNotVisible("#snackbar-container", 10000)
199+
.useXpath()
197200
.click(otherCat)
198201
.expect.element(genUUID).to.be.visible;
199202

@@ -232,7 +235,7 @@ module.exports = {
232235
browser
233236
.waitForElementNotVisible("#snackbar-container")
234237
.click("#copy-output")
235-
.waitForElementVisible("#snackbar-container .snackbar-content", 5000, 100, false)
238+
.waitForElementVisible("#snackbar-container .snackbar-content")
236239
.expect.element("#snackbar-container .snackbar-content").text.to.equal("Copied raw output successfully.");
237240

238241
// Alert bar disappears after the correct amount of time

0 commit comments

Comments
 (0)