Windshaft-cartodb/test/acceptance
Mario de Frutos 8d16bf566d
Force png tile generation for static maps (#808)
* Force png tile generation for static maps

If the user tries to generate a static map requesting JPG it will fail
because is going to try to generate the tiles using JPG as format which
is not supported by now, this bug was introduced in the version 4.0.1

So we now force, again, the tiles to be generated as PNG but we pass
the requested format, JPG, to windshaft to generate the final image as
the user reqests

* Added support to define image format in the image assertions

* Added test for JPEG static image generation

Also I've added support for:

- JPEG images
- Different tolerance based on the file type, it seems that due to
  different compression we need different tolerance for JPG images
2017-12-12 13:20:22 +01:00
..
analysis Fix EOF 2017-11-19 13:47:07 +01:00
cache Move layergroup-token to models 2017-08-04 17:51:10 +02:00
dataviews Timeseries tests: Make jshint happy 2017-12-11 11:27:13 +01:00
ported Create new middlewares to init profiling and another to check JSON content-type 2017-11-05 18:55:23 +01:00
stats If we have the stats FF disbabled return empty array instead of null 2017-05-30 10:47:47 +02:00
turbo-carto Move layergroup-token to models 2017-08-04 17:51:10 +02:00
widgets Merge branch 'master' into middlewarify 2017-10-10 14:59:50 +02:00
buffer-size-format.js Do not run test if postgis version is lower than or equal to 2.4 2017-10-16 12:15:28 +02:00
dynamic-styling-named-maps.js Move layergroup-token to models 2017-08-04 17:51:10 +02:00
errors-with-context.js Retrieve error with context if map validation fails 2016-11-01 11:00:58 +01:00
health_check.js Remove trailing whitespace 2016-01-28 19:44:25 +01:00
multilayer_server.js Move layergroup-token to models 2017-08-04 17:51:10 +02:00
multilayer.js Tests to fect mvt tiles without styles 2017-11-29 13:12:09 +01:00
mvt.js Remove duplicated code 2017-12-04 13:17:37 +01:00
named_layers_visibility.js Improved and implemented new test for layer visibility suite 2016-09-01 12:37:56 +02:00
named_layers.js Move layergroup-token to models 2017-08-04 17:51:10 +02:00
named_maps_authentication.js made error_with_context non optional and adapted test's assertion 2016-06-13 16:14:01 +02:00
named_maps_cache.js made error_with_context non optional and adapted test's assertion 2016-06-13 16:14:01 +02:00
named_maps_static_view.js Force png tile generation for static maps (#808) 2017-12-12 13:20:22 +01:00
named_maps_stats.js Increment map views on static preview images 2015-09-29 12:21:11 +02:00
overviews_metadata_named_maps.js Move layergroup-token to models 2017-08-04 17:51:10 +02:00
overviews_metadata.js Move layergroup-token to models 2017-08-04 17:51:10 +02:00
overviews_queries.js Remove BaseController dependency and remove unused code 2017-10-30 19:30:03 +01:00
regressions.js Nicer error message when missing sql from layer options 2016-05-11 18:24:47 +02:00
server.js Use describe instead of suite 2015-09-25 13:37:10 +02:00
special-numeric-values.js Going red: attributes service do not support special numeric values (Infinity, -Infinity, NaN) 2017-06-27 11:21:05 +02:00
sql-wrap.js Adds support for sql wrap in all layers 2016-05-19 13:34:29 +02:00
templates.js Move layergroup-token to models 2017-08-04 17:51:10 +02:00
user-database-timeout-limit.js remove with spaces and adding line as EOF 2017-11-15 15:07:30 +01:00
user-render-timeout-limit.js vector timeout error tests 2017-11-07 11:08:01 +01:00
vector-layergroup.js Fix tests according to the last changes in windshaft 2017-12-01 13:52:28 +01:00