mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 09:53:43 +08:00
FIX: tests helper do not use es6
This commit is contained in:
parent
98c6c7e35a
commit
1ea5205022
|
@ -19,8 +19,8 @@ Ember.Test.registerAsyncHelper('selectDropdown', function(app, selector, itemId)
|
|||
});
|
||||
|
||||
Ember.Test.registerAsyncHelper('selectBox', function(app, selector, title) {
|
||||
click(`${selector} .select-box-header`);
|
||||
click(`${selector} .select-box-row[title="${title}"]`);
|
||||
click(selector + ' .select-box-header');
|
||||
click(selector + ' .select-box-row[title="' + title + '"]');
|
||||
});
|
||||
|
||||
function invisible(selector) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user