Skip to content

Commit

Permalink
FIX: additional test for user/group urls
Browse files Browse the repository at this point in the history
  • Loading branch information
lis2 committed May 6, 2024
1 parent 82d45ee commit d7f86c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/javascripts/acceptance/assigned-topic-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ acceptance("Discourse Assign | Assigned topic", function (needs) {
"shows assignment and indirect assignments in the first post"
);
assert.dom("#post_1 .assigned-to svg.d-icon-user-plus").exists();
assert.dom("#post_1 .assigned-to a[href='/']").exists();
assert
.dom(".discourse-tags .assigned-to[href='/t/28830'] span")
.hasAttribute("title", "Shark Doododooo", "shows topic assign notes");
Expand Down Expand Up @@ -137,6 +138,9 @@ acceptance("Discourse Assign | Assigned topic", function (needs) {
"shows assignment in the first post"
);
assert.dom("#post_1 .assigned-to svg.d-icon-group-plus").exists();
assert
.dom("#post_1 .assigned-to a[href='/g/Developers/assigned/everyone']")
.exists();
assert
.dom("#topic-footer-dropdown-reassign")
.exists("shows reassign dropdown at the bottom of the topic");
Expand Down

0 comments on commit d7f86c4

Please sign in to comment.