FIX: tests helper do not use es6

This commit is contained in:
Joffrey JAFFEUX 2017-08-29 16:16:51 +02:00 committed by GitHub
parent 98c6c7e35a
commit 1ea5205022
1 changed files with 2 additions and 2 deletions

View File

@ -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) {