UX: Tweaks to group pages.

This commit is contained in:
Guo Xiang Tan
2018-03-29 14:57:10 +08:00
parent 27f06505b1
commit 52e75eaee9
29 changed files with 468 additions and 253 deletions

View File

@ -45,6 +45,15 @@ QUnit.test("Anonymous Viewing Group", assert => {
assert.ok(find(".nav-pills li a[title='Logs']").length === 0, 'it should not show Logs tab if user is not admin');
assert.ok(count('.group-post') > 0, "it lists stream items");
});
selectKit('.group-dropdown').expand();
andThen(() => {
assert.equal(
find('.select-kit-row').text().trim(), 'discourse',
'it displays the right row'
);
});
});
QUnit.test("User Viewing Group", assert => {