mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
FEATURE: Upload Site Settings. (#6573)
This commit is contained in:
@ -10,6 +10,17 @@ acceptance("Admin - Site Settings", {
|
||||
}
|
||||
});
|
||||
|
||||
QUnit.test("upload site setting", async assert => {
|
||||
await visit("/admin/site_settings");
|
||||
|
||||
assert.ok(
|
||||
exists(".row.setting.upload .image-uploader"),
|
||||
"image uploader is present"
|
||||
);
|
||||
|
||||
assert.ok(exists(".row.setting.upload .undo"), "undo button is present");
|
||||
});
|
||||
|
||||
QUnit.test("changing value updates dirty state", async assert => {
|
||||
await visit("/admin/site_settings");
|
||||
await fillIn("#setting-filter", "title");
|
||||
|
Reference in New Issue
Block a user