@mattab opened this Issue on May 20th 2014 Owner

Our Javascript tests currently run for the non minified version of piwik.js

when changing the test file to test not the "original /js/piwik.js" but instead test the minified /piwik.js then the test fail (see attached screenshot)

The line to change is: https://github.com/piwik/piwik/blob/master/tests/javascript/index.php#L51-51

Proposed steps:

  • Investigate why the tests fail on the minified JavaScript tracker
  • Run the Javascript tracker tests on both the minified and non minified versions
@mattab commented on May 20th 2014 Owner

Attachment: javascript tests fail on minified piwik.js
.png

@tsteur commented on May 21st 2014 Owner

It cannot work with the compiled version as lots of code is removed during the compressing such as:

/*<DEBUG>*/
...
/*</DEBUG>*/

Don't think it makes sense to run the tests with the minified version as 90% of the tests cannot work.

@mattab commented on May 21st 2014 Owner

moving to feature request

@sgiehl commented on November 19th 2017 Member

duplicates #5165

This Issue was closed on November 19th 2017
Powered by GitHub Issue Mirror