mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
REFACTOR: Stop mixing users page and groups page CSS.
This commit is contained in:
@ -27,7 +27,7 @@ test("Browsing Groups", () => {
|
||||
|
||||
visit("/groups/discourse/messages");
|
||||
andThen(() => {
|
||||
ok($('.action-list li').length === 4, 'it should not show messages tab');
|
||||
ok($('.nav-stacked li').length === 4, 'it should not show messages tab');
|
||||
ok(count('.user-stream .item') > 0, "it lists stream items");
|
||||
});
|
||||
});
|
||||
@ -39,7 +39,7 @@ test("Admin Browsing Groups", () => {
|
||||
visit("/groups/discourse");
|
||||
|
||||
andThen(() => {
|
||||
ok($('.action-list li').length === 5, 'it should show messages tab if user is admin');
|
||||
ok($('.nav-stacked li').length === 5, 'it should show messages tab if user is admin');
|
||||
});
|
||||
|
||||
click('.group-edit-btn');
|
||||
|
Reference in New Issue
Block a user