The goal of this issue is to make our Continuous Integration run automated tests for the static PNG graphs generated by the ImageGraph module.
We actually had to remove PNG graphs from the CI because there were minor pixel differences in images between local machine and CI, causing tests to fail.
1) Piwik\Tests\System\EcommerceOrderWithItemsTest::testImagesIncludedInTests - Scheduled reports generated during integration tests will not contain the image graphs. For tests to generate images, use a machine with the following specifications : OS = linux, PHP = 5.5 and GD = 2.1.1.
\Piwik\Visualization\Sparkline::$enableSparklineImages = false;
The Graphs generated by the
ImageGraph.get API (dev doc) is now tested by automated tests. This was added in https://github.com/piwik/piwik-ui-tests/commit/b21a91666f6b86cbb317ad7566dc2f30345cbdd7