Conditionally run WebGL rendering tests

This commit is contained in:
Tim Schaub
2017-07-03 14:15:00 -06:00
parent 36f01e7b08
commit a5113715ef
11 changed files with 28 additions and 27 deletions

View File

@@ -136,7 +136,7 @@ describe('ol.rendering.style.RegularShape', function() {
expectResemble(map, 'spec/ol/style/expected/regularshape-canvas-linedashoffset.png', 5, done);
});
it('tests the WebGL renderer', function(done) {
where('WebGL').it('tests the WebGL renderer', function(done) {
assertWebGL();
map = createMap('webgl');
createFeatures(stroke, fill);
@@ -158,7 +158,7 @@ describe('ol.rendering.style.RegularShape', function() {
expectResemble(map, 'rendering/ol/style/expected/regularshape-canvas-default-style.png', 3.0, done);
});
it('tests the WebGL renderer', function(done) {
where('WebGL').it('tests the WebGL renderer', function(done) {
assertWebGL();
map = createMap('webgl');
createFeatures(stroke, fill);