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
|
@ -23,17 +23,18 @@ QUnit.test("Updating topic notification level", assert => {
|
|||
|
||||
andThen(() => {
|
||||
assert.ok(
|
||||
exists(`${notificationOptions} .tracking`),
|
||||
exists(`${notificationOptions}`),
|
||||
"it should display the notification options button in the topic's footer"
|
||||
);
|
||||
});
|
||||
|
||||
click(`${notificationOptions} .tracking`);
|
||||
click(`${notificationOptions} .select-box-collection .select-box-row[title=Tracking]`);
|
||||
expandSelectBox(notificationOptions);
|
||||
selectBoxSelectRow("3", { selector: notificationOptions});
|
||||
|
||||
andThen(() => {
|
||||
assert.ok(
|
||||
exists(`${notificationOptions} .watching`),
|
||||
assert.equal(
|
||||
selectBox(notificationOptions).selectedRow.name(),
|
||||
"watching",
|
||||
"it should display the right notification level"
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue