mirror of
https://github.com/discourse/discourse.git
synced 2025-06-23 01:32:49 +08:00
FEATURE - allow Group Moderators to edit category description (#10292)
Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
This commit is contained in:
@ -7,6 +7,7 @@ QUnit.test("Enter as a anon user", async assert => {
|
||||
await click(".show-more-actions");
|
||||
|
||||
assert.ok(exists("#topic"), "The topic was rendered");
|
||||
assert.ok(exists("#post_1 .post-controls .edit"), "The edit button was not rendered");
|
||||
assert.ok(!exists(".show-post-admin-menu"), "The wrench button was not rendered");
|
||||
});
|
||||
|
||||
@ -17,5 +18,6 @@ QUnit.test("Enter as a user with group moderator permissions", async assert => {
|
||||
await click(".show-more-actions");
|
||||
await click(".show-post-admin-menu");
|
||||
|
||||
assert.ok(exists("#post_1 .post-controls .edit"), "The edit button was rendered");
|
||||
assert.ok(exists(".add-notice"), "The add notice button was rendered");
|
||||
});
|
||||
|
Reference in New Issue
Block a user