Merge pull request #7247 from marcjansen/fix-7245

Raise tolerance of rendering tests to pass on Firefox 55 (GNU/Linux)
This commit is contained in:
Marc Jansen
2017-09-12 12:41:52 +02:00
committed by GitHub
+2 -2
View File
@@ -192,7 +192,7 @@ describe('ol.rendering.style.Text', function() {
}) })
})); }));
vectorSource.addFeature(feature); vectorSource.addFeature(feature);
expectResemble(map, 'rendering/ol/style/expected/text-align-offset-canvas.png', 5, done); expectResemble(map, 'rendering/ol/style/expected/text-align-offset-canvas.png', 6, done);
}); });
it('renders multiline text with positioning options', function(done) { it('renders multiline text with positioning options', function(done) {
@@ -238,7 +238,7 @@ describe('ol.rendering.style.Text', function() {
}) })
})); }));
vectorSource.addFeature(feature); vectorSource.addFeature(feature);
expectResemble(map, 'rendering/ol/style/expected/text-align-offset-canvas.png', 5, done); expectResemble(map, 'rendering/ol/style/expected/text-align-offset-canvas.png', 6, done);
}); });
describe('Text along an ugly upside down path, keep text upright', function() { describe('Text along an ugly upside down path, keep text upright', function() {