From 70706897f4283e31ececdb416c8bf56067bd1d62 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 30 Aug 2017 15:32:58 -0400 Subject: [PATCH] FIX: Test was failing on high DPI monitor --- test/javascripts/components/select-box-test.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }); } });