diff --git a/test/javascripts/components/select-box-test.js.es6 b/test/javascripts/components/select-box-test.js.es6 index 8f15b1668f3..94e07f17136 100644 --- a/test/javascripts/components/select-box-test.js.es6 +++ b/test/javascripts/components/select-box-test.js.es6 @@ -232,7 +232,7 @@ componentTest('supports options to limit size', { click(".select-box-header"); andThen(() => { - assert.equal(find(".select-box-body").height(), 20, "it limits the height"); + assert.equal(parseInt(find(".select-box-body").height()), 20, "it limits the height"); }); } });