mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
[WIP] select-box-kit refactoring
This commit is contained in:
parent
a9f718fe57
commit
ae1743c61f
157 changed files with 3262 additions and 2404 deletions
|
@ -20,7 +20,7 @@ QUnit.test("For topics: body of post, title, category and tags are all editbale"
|
|||
andThen(() => {
|
||||
assert.ok(exists(".d-editor-container"), "the body should be editable");
|
||||
assert.ok(exists(".edit-title .ember-text-field"), "the title should be editable");
|
||||
assert.ok(exists(".category-select-box"), "category should be editbale");
|
||||
assert.ok(exists(".category-chooser"), "category should be editbale");
|
||||
assert.ok(exists(".tag-chooser"), "tags should be editable");
|
||||
});
|
||||
});
|
||||
|
@ -41,7 +41,7 @@ QUnit.test("For replies: only the body of post is editbale", assert => {
|
|||
andThen(() => {
|
||||
assert.ok(exists(".d-editor-container"), "the body should be editable");
|
||||
assert.notOk(exists(".edit-title .ember-text-field"), "title should not be editbale");
|
||||
assert.notOk(exists(".category-select-box"), "category should not be editable");
|
||||
assert.notOk(exists(".category-chooser"), "category should not be editable");
|
||||
assert.notOk(exists("div.tag-chooser"), "tags should not be editable");
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue