Enable static PNG image graphs during Continuous Integration #6864
Labels
c: Tests & QA
For issues related to automated tests or making it easier to QA & test issues.
Task
Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone
The goal of this issue is to make our Continuous Integration run automated tests for the static PNG graphs generated by the ImageGraph module.
in 2.10.0-b8 we got hit by a couple regressions in the static Image Graphs see #6863 #6862 - we should be able to detect such huge regressions and prevent them occuring again without us noticing!
Current state
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;
Proposed steps
The text was updated successfully, but these errors were encountered: