UX: Improve interface for flagging with many flaggers

This commit is contained in:
Robin Ward
2017-09-14 12:44:49 -04:00
parent 64fae87470
commit 079f108ceb
10 changed files with 189 additions and 171 deletions

View File

@ -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);
});