mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
UX: Improve interface for flagging with many flaggers
This commit is contained in:
parent
64fae87470
commit
079f108ceb
10 changed files with 189 additions and 171 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue