DEV: Support stable branch tests for `discourse-spoiler`.

This commit is contained in:
Guo Xiang Tan 2018-08-30 17:20:42 +08:00
parent 0f812aa768
commit f39c38d281
1 changed files with 5 additions and 0 deletions

View File

@ -191,6 +191,11 @@ function selectKit(selector) {
return selectKitSelectRowByValue(value, selector);
},
// Remove when stable is updated to Discourse 2.1
selectRowByValueAwait: function(value) {
return selectKitSelectRowByValue(value, selector);
},
selectRowByName: function(name) {
selectKitSelectRowByValue(name, selector);
return selectKit(selector);