diff --git a/test/functional/GlobeControls.js b/test/functional/GlobeControls.js index 16d5ee9ca7..cac5e7cc8c 100644 --- a/test/functional/GlobeControls.js +++ b/test/functional/GlobeControls.js @@ -185,6 +185,7 @@ describe('GlobeControls with globe example', function _() { .dispatchEvent(wheelEvent, document); window.dispatchEvent(wheelEvent, document); })); - assert.ok(initialPosition.range - finalRange > 2000000); + // On the travis server, the range is negative. + assert.ok(Math.abs(initialPosition.range - finalRange) > 2000000); }); });