mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
UX: Display group title if it exists.
This commit is contained in:
@ -39,7 +39,9 @@ test("Admin Browsing Groups", () => {
|
||||
visit("/groups/discourse");
|
||||
|
||||
andThen(() => {
|
||||
ok($('.nav-stacked li').length === 5, 'it should show messages tab if user is admin');
|
||||
ok(find('.nav-stacked li').length === 5, 'it should show messages tab if user is admin');
|
||||
equal(find('.group-title').text(), 'Awesome Team', 'it should display the group title');
|
||||
equal(find('.group-name').text(), '@discourse', 'it should display the group name');
|
||||
});
|
||||
|
||||
click('.group-edit-btn');
|
||||
|
Reference in New Issue
Block a user