DEV: Fix tests for user notification changes (#537)

This commit is contained in:
Mark VanLandingham 2023-12-11 10:56:19 -06:00 committed by GitHub
parent 5888025dec
commit a5b7911cb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -159,11 +159,11 @@ acceptance("Discourse Assign | Assigned topic", function (needs) {
await visit("/u/eviltrout/notifications");
const notification = query(
"section.user-content ul.notifications li.item.notification"
"section.user-content .user-notifications-list li.notification"
);
assert.true(
notification.children[0].classList.contains("assigned"),
notification.classList.contains("assigned"),
"with correct assigned class"
);