2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

FIX: Test was failing on high DPI monitor

This commit is contained in:
Robin Ward 2017-08-30 15:32:58 -04:00
parent 3d95bac3fb
commit 70706897f4

View file

@ -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");
});
}
});