mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 14:12:10 +08:00
FEATURE: Allow group owners to edit group name and avatar flair.
This commit is contained in:
@ -32,7 +32,7 @@ test("Browsing Groups", () => {
|
||||
});
|
||||
});
|
||||
|
||||
test("Messages tab", () => {
|
||||
test("Admin Browsing Groups", () => {
|
||||
logIn();
|
||||
Discourse.reset();
|
||||
|
||||
@ -41,4 +41,10 @@ test("Messages tab", () => {
|
||||
andThen(() => {
|
||||
ok($('.action-list li').length === 5, 'it should show messages tab if user is admin');
|
||||
});
|
||||
|
||||
click('.group-edit-btn');
|
||||
|
||||
andThen(() => {
|
||||
ok(find('.group-flair-inputs').length === 1, 'it should display avatar flair inputs');
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user