DEV: Fix tests for user notification changes (#537)
This commit is contained in:
parent
5888025dec
commit
a5b7911cb9
|
@ -159,11 +159,11 @@ acceptance("Discourse Assign | Assigned topic", function (needs) {
|
||||||
await visit("/u/eviltrout/notifications");
|
await visit("/u/eviltrout/notifications");
|
||||||
|
|
||||||
const notification = query(
|
const notification = query(
|
||||||
"section.user-content ul.notifications li.item.notification"
|
"section.user-content .user-notifications-list li.notification"
|
||||||
);
|
);
|
||||||
|
|
||||||
assert.true(
|
assert.true(
|
||||||
notification.children[0].classList.contains("assigned"),
|
notification.classList.contains("assigned"),
|
||||||
"with correct assigned class"
|
"with correct assigned class"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue