mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 22:57:19 +08:00
UX: Improve interface for flagging with many flaggers
This commit is contained in:
@ -5,7 +5,7 @@ QUnit.test("flagged posts", assert => {
|
||||
visit("/admin/flags/active");
|
||||
andThen(() => {
|
||||
assert.equal(find('.flagged-posts .flagged-post').length, 1);
|
||||
assert.equal(find('.flagged-post .flaggers .flagger').length, 1, 'shows who flagged it');
|
||||
assert.equal(find('.flagged-post .flag-user').length, 1, 'shows who flagged it');
|
||||
assert.equal(find('.flagged-post-response').length, 2);
|
||||
assert.equal(find('.flagged-post-response:eq(0) img.avatar').length, 1);
|
||||
});
|
||||
|
Reference in New Issue
Block a user