mirror of
https://github.com/discourse/discourse.git
synced 2025-06-07 18:14:45 +08:00
DEV: Correct test following 7af72804 (#29463)
Looks like the test was previously asserting the broken behaviour 🤦♂️
This commit is contained in:
@ -393,7 +393,7 @@ acceptance("User - Logout", function (needs) {
|
|||||||
.doesNotExist("no cancel button present");
|
.doesNotExist("no cancel button present");
|
||||||
assert
|
assert
|
||||||
.dom(".dialog-footer .btn-primary")
|
.dom(".dialog-footer .btn-primary")
|
||||||
.hasText(I18n.t("house"), "primary dialog button is present");
|
.hasText(I18n.t("home"), "primary dialog button is present");
|
||||||
|
|
||||||
await click(".dialog-overlay");
|
await click(".dialog-overlay");
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user