Skip to content

Commit 16b7d0f

Browse files
author
Mike Taylor
committed
Issue #3450 - Remove is--visible class check, instead block on element being visible
1 parent f130ccd commit 16b7d0f

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

tests/functional/reporting-issue-wizard-non-auth.js

+2-10
Original file line numberDiff line numberDiff line change
@@ -625,11 +625,7 @@ registerSuite("Reporting with wizard", {
625625
})
626626
.end()
627627
// Make sure that popup is visible and close it
628-
.findDisplayedByCssSelector(".popup-modal")
629-
.getAttribute("class")
630-
.then((className) => {
631-
assert.include(className, "is--visible");
632-
})
628+
.findDisplayedByCssSelector(".popup-modal.is--visible")
633629
.pressKeys(keys.ESCAPE)
634630
.end()
635631
.findByCssSelector(".popup-modal")
@@ -647,11 +643,7 @@ registerSuite("Reporting with wizard", {
647643
})
648644
.end()
649645
// Make sure that popup is visible and close it
650-
.findDisplayedByCssSelector(".popup-modal")
651-
.getAttribute("class")
652-
.then((className) => {
653-
assert.include(className, "is--visible");
654-
})
646+
.findDisplayedByCssSelector(".popup-modal.is--visible")
655647
.pressKeys(keys.ESCAPE)
656648
.end()
657649
.findByCssSelector(".popup-modal")

0 commit comments

Comments
 (0)