stable
Clone or download
Read-only
closes request #38626 convert statistics plugin into cypress
How to test: make tests-e2e should succeed Note: I had to change some code in Statistics_DiskUsageDao and Statistics_Services_UsageFormatter beacuse I couldn't export service_usage statistics code ended in a 502 with a fatal error "PHP message: PHP Notice: Error encountered while retrieving data ==> SELECT sum(size) as size FROM plugin_statistics_diskusage_group WHERE AND group_id = 106 @@ /usr/share/tuleap/src/common/dao/include/DataAccessObject.class.php at line 119 convert test_case #15418, test_case #15419 and test_case #15420 Change-Id: I536d8e7ed14a61891098ea8aafb61df7db2b709b
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/statistics/include/Statistics_DiskUsageDao.class.php | +6 | −1 | Go to diff View file |
M | plugins/statistics/include/Statistics_Services_UsageFormatter.class.php | +1 | −1 | Go to diff View file |
M | plugins/statistics/include/statisticsPlugin.php | +1 | −1 | Go to diff View file |
M | plugins/statistics/templates/admin-header.mustache | +4 | −3 | Go to diff View file |
M | plugins/statistics/templates/disk-usage-global.mustache | +2 | −2 | Go to diff View file |
M | plugins/statistics/templates/disk-usage-projects.mustache | +1 | −1 | Go to diff View file |
M | plugins/statistics/templates/disk-usage-services.mustache | +1 | −1 | Go to diff View file |
M | plugins/statistics/templates/frequencies.mustache | +1 | −1 | Go to diff View file |
M | plugins/statistics/templates/scm-statistics.mustache | +2 | −2 | Go to diff View file |
M | plugins/statistics/templates/services-usage.mustache | +3 | −2 | Go to diff View file |
M | plugins/statistics/templates/usage-progress.mustache | +2 | −2 | Go to diff View file |
M | plugins/statistics/www/frequence_stat_graph.php | +0 | −1 | Go to diff View file |
M | tests/e2e/full/cypress.config.ts | +1 | −1 | Go to diff View file |
M | tests/e2e/full/cypress/e2e/site_admin.cy.ts | +72 | −0 | Go to diff View file |