mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 22:34:37 +08:00
FEATURE: uses select-box for topic-notifications-button component
- Introduces ComponentConnector to use a component inside a widget - Use css to set size of components instead of properties - Smarted positionning - Style tweaks
This commit is contained in:
@ -19,7 +19,7 @@ acceptance("Topic Notifications button", {
|
||||
QUnit.test("Updating topic notification level", assert => {
|
||||
visit("/t/internationalization-localization/280");
|
||||
|
||||
const notificationOptions = "#topic-footer-buttons .notification-options";
|
||||
const notificationOptions = "#topic-footer-buttons .topic-notifications";
|
||||
|
||||
andThen(() => {
|
||||
assert.ok(
|
||||
@ -29,7 +29,7 @@ QUnit.test("Updating topic notification level", assert => {
|
||||
});
|
||||
|
||||
click(`${notificationOptions} .tracking`);
|
||||
click(`${notificationOptions} .dropdown-menu .watching`);
|
||||
click(`${notificationOptions} .select-box-collection .select-box-row[title=tracking]`);
|
||||
|
||||
andThen(() => {
|
||||
assert.ok(
|
||||
@ -44,4 +44,4 @@ QUnit.test("Updating topic notification level", assert => {
|
||||
// 'it should display the right notification level in topic timeline'
|
||||
// );
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user