Skip to content

A platform for community discussion. Free, open, simple.

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

Guo Xiang Tanf39c38d281c7
diff --git a/test/javascripts/helpers/select-kit-helper.js b/test/javascripts/helpers/select-kit-helper.js
index e170d8f5104..0e8ad5c143e 100644
--- a/test/javascripts/helpers/select-kit-helper.js
+++ b/test/javascripts/helpers/select-kit-helper.js
@@ -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);