From 84d9d274ee30829a3eeee6577ae11d3c96fcaeaf Mon Sep 17 00:00:00 2001 From: Matt <1169490+caddoo@users.noreply.github.com> Date: Tue, 4 Aug 2026 15:57:26 +1200 Subject: [PATCH] Add percent-of-total metric columns to system test expected files Matomo core adds always-on {metric}_percent_of_total columns to report rows in API responses (matomo-org/matomo#24983, Matomo 6). These expected files include the new columns and only pass against a Matomo 6 core that contains that change. --- .../test___Actions.getPageTitles_year.xml | 6 ++ .../test___Actions.getPageUrls_year.xml | 6 ++ ...ustomVariables.getCustomVariables_year.xml | 40 +++++++++++ .../expected/test___Events.getAction_year.xml | 72 +++++++++++++++++++ .../test___Events.getCategory_year.xml | 38 ++++++++++ .../expected/test___Events.getName_year.xml | 56 +++++++++++++++ .../test___Referrers.getReferrerType_year.xml | 4 ++ 7 files changed, 222 insertions(+) diff --git a/tests/System/expected/test___Actions.getPageTitles_year.xml b/tests/System/expected/test___Actions.getPageTitles_year.xml index c244afa..3ef26ec 100644 --- a/tests/System/expected/test___Actions.getPageTitles_year.xml +++ b/tests/System/expected/test___Actions.getPageTitles_year.xml @@ -13,6 +13,12 @@ 1 1 0 + 100% + 100% + 0% + 100% + 100% + 100% 0 0% 100% diff --git a/tests/System/expected/test___Actions.getPageUrls_year.xml b/tests/System/expected/test___Actions.getPageUrls_year.xml index cf7b890..62bb820 100644 --- a/tests/System/expected/test___Actions.getPageUrls_year.xml +++ b/tests/System/expected/test___Actions.getPageUrls_year.xml @@ -13,6 +13,12 @@ 1 1 0 + 100% + 100% + 0% + 100% + 100% + 100% 0 0% 100% diff --git a/tests/System/expected/test___CustomVariables.getCustomVariables_year.xml b/tests/System/expected/test___CustomVariables.getCustomVariables_year.xml index 9897d31..d4b90b7 100644 --- a/tests/System/expected/test___CustomVariables.getCustomVariables_year.xml +++ b/tests/System/expected/test___CustomVariables.getCustomVariables_year.xml @@ -9,6 +9,10 @@ 0 1 0 + 20% + 20% + 0% + 0% visit @@ -26,6 +30,10 @@ 0 1 0 + 20% + 20% + 0% + 0% @@ -38,6 +46,10 @@ 0 1 0 + 20% + 20% + 0% + 0% visit @@ -55,6 +67,10 @@ 0 1 0 + 20% + 20% + 0% + 0% @@ -67,6 +83,10 @@ 0 1 0 + 20% + 20% + 0% + 0% visit @@ -84,6 +104,10 @@ 0 1 0 + 20% + 20% + 0% + 0% @@ -96,6 +120,10 @@ 0 1 0 + 20% + 20% + 0% + 0% visit @@ -113,6 +141,10 @@ 0 1 0 + 20% + 20% + 0% + 0% @@ -125,6 +157,10 @@ 0 1 0 + 20% + 20% + 0% + 0% visit @@ -142,6 +178,10 @@ 0 1 0 + 20% + 20% + 0% + 0% diff --git a/tests/System/expected/test___Events.getAction_year.xml b/tests/System/expected/test___Events.getAction_year.xml index 8b8d8a4..dff14c7 100644 --- a/tests/System/expected/test___Events.getAction_year.xml +++ b/tests/System/expected/test___Events.getAction_year.xml @@ -10,6 +10,7 @@ 2 2 2 + 2.8% eventAction==API.getPiwikVersion+%28count%29 @@ -22,6 +23,7 @@ 2 2 2 + 2.8% @@ -35,6 +37,7 @@ 2 2 2 + 2.8% eventAction==API.getPiwikVersion+%28speed%29 @@ -47,6 +50,7 @@ 2 2 2 + 2.8% @@ -60,6 +64,7 @@ 2 2 2 + 2.8% eventAction==CoreAdminHome.invalidateArchivedReports+%28count%29 @@ -72,6 +77,7 @@ 2 2 2 + 2.8% @@ -85,6 +91,7 @@ 2 2 2 + 2.8% eventAction==CoreAdminHome.invalidateArchivedReports+%28speed%29 @@ -97,6 +104,7 @@ 2 2 2 + 2.8% @@ -110,6 +118,7 @@ 2 2 2 + 2.8% eventAction==CustomDimensions.getConfiguredCustomDimensions+%28count%29 @@ -122,6 +131,7 @@ 2 2 2 + 2.8% @@ -135,6 +145,7 @@ 2 2 2 + 2.8% eventAction==CustomDimensions.getConfiguredCustomDimensions+%28speed%29 @@ -147,6 +158,7 @@ 2 2 2 + 2.8% @@ -160,6 +172,7 @@ 2 2 2 + 2.8% eventAction==Dashboard.getDashboards+%28count%29 @@ -172,6 +185,7 @@ 2 2 2 + 2.8% @@ -185,6 +199,7 @@ 2 2 2 + 2.8% eventAction==Dashboard.getDashboards+%28speed%29 @@ -197,6 +212,7 @@ 2 2 2 + 2.8% @@ -210,6 +226,7 @@ 2 2 2 + 2.8% eventAction==Goals.getGoals+%28count%29 @@ -222,6 +239,7 @@ 2 2 2 + 2.8% @@ -235,6 +253,7 @@ 2 2 2 + 2.8% eventAction==Goals.getGoals+%28speed%29 @@ -247,6 +266,7 @@ 2 2 2 + 2.8% @@ -260,6 +280,7 @@ 2 2 2 + 2.8% eventAction==LanguagesManager.uses12HourClockForUser+%28count%29 @@ -272,6 +293,7 @@ 2 2 2 + 2.8% @@ -285,6 +307,7 @@ 2 2 2 + 2.8% eventAction==LanguagesManager.uses12HourClockForUser+%28speed%29 @@ -297,6 +320,7 @@ 2 2 2 + 2.8% @@ -310,6 +334,7 @@ 2 2 2 + 2.8% eventAction==SitesManager.getAllSites+%28count%29 @@ -322,6 +347,7 @@ 2 2 2 + 2.8% @@ -335,6 +361,7 @@ 2 2 2 + 2.8% eventAction==SitesManager.getAllSites+%28speed%29 @@ -347,6 +374,7 @@ 2 2 2 + 2.8% @@ -360,6 +388,7 @@ 2 2 2 + 2.8% eventAction==SitesManager.getSiteFromId+%28count%29 @@ -372,6 +401,7 @@ 2 2 2 + 2.8% @@ -385,6 +415,7 @@ 2 2 2 + 2.8% eventAction==SitesManager.getSiteFromId+%28speed%29 @@ -397,6 +428,7 @@ 2 2 2 + 2.8% @@ -410,6 +442,7 @@ 2 2 2 + 2.8% eventAction==TagManager.addContainer+%28count%29 @@ -422,6 +455,7 @@ 2 2 2 + 2.8% @@ -435,6 +469,7 @@ 2 2 2 + 2.8% eventAction==TagManager.addContainer+%28speed%29 @@ -447,6 +482,7 @@ 2 2 2 + 2.8% @@ -460,6 +496,7 @@ 2 2 2 + 2.8% eventAction==TagManager.addContainerTag+%28count%29 @@ -472,6 +509,7 @@ 2 2 2 + 2.8% @@ -485,6 +523,7 @@ 2 2 2 + 2.8% eventAction==TagManager.addContainerTag+%28speed%29 @@ -497,6 +536,7 @@ 2 2 2 + 2.8% @@ -510,6 +550,7 @@ 2 2 2 + 2.8% eventAction==TagManager.addContainerTrigger+%28count%29 @@ -522,6 +563,7 @@ 2 2 2 + 2.8% @@ -535,6 +577,7 @@ 2 2 2 + 2.8% eventAction==TagManager.addContainerTrigger+%28speed%29 @@ -547,6 +590,7 @@ 2 2 2 + 2.8% @@ -560,6 +604,7 @@ 2 2 2 + 2.8% eventAction==TagManager.addContainerVariable+%28count%29 @@ -572,6 +617,7 @@ 2 2 2 + 2.8% @@ -585,6 +631,7 @@ 2 2 2 + 2.8% eventAction==TagManager.addContainerVariable+%28speed%29 @@ -597,6 +644,7 @@ 2 2 2 + 2.8% @@ -610,6 +658,7 @@ 2 2 2 + 2.8% eventAction==TagManager.createContainerVersion+%28count%29 @@ -622,6 +671,7 @@ 2 2 2 + 2.8% @@ -635,6 +685,7 @@ 2 2 2 + 2.8% eventAction==TagManager.createContainerVersion+%28speed%29 @@ -647,6 +698,7 @@ 2 2 2 + 2.8% @@ -660,6 +712,7 @@ 2 2 2 + 2.8% eventAction==TagManager.createDefaultContainerForSite+%28count%29 @@ -672,6 +725,7 @@ 2 2 2 + 2.8% @@ -685,6 +739,7 @@ 2 2 2 + 2.8% eventAction==TagManager.createDefaultContainerForSite+%28speed%29 @@ -697,6 +752,7 @@ 2 2 2 + 2.8% @@ -710,6 +766,7 @@ 2 2 2 + 2.8% eventAction==TagManager.getAvailableEnvironments+%28count%29 @@ -722,6 +779,7 @@ 2 2 2 + 2.8% @@ -735,6 +793,7 @@ 2 2 2 + 2.8% eventAction==TagManager.getAvailableEnvironments+%28speed%29 @@ -747,6 +806,7 @@ 2 2 2 + 2.8% @@ -760,6 +820,7 @@ 2 2 2 + 2.8% eventAction==TagManager.publishContainerVersion+%28count%29 @@ -772,6 +833,7 @@ 2 2 2 + 2.8% @@ -785,6 +847,7 @@ 2 2 2 + 2.8% eventAction==TagManager.publishContainerVersion+%28speed%29 @@ -797,6 +860,7 @@ 2 2 2 + 2.8% @@ -810,6 +874,7 @@ 2 2 2 + 2.8% eventAction==UsersManager.getUsers+%28count%29 @@ -822,6 +887,7 @@ 2 2 2 + 2.8% @@ -835,6 +901,7 @@ 2 2 2 + 2.8% eventAction==UsersManager.getUsers+%28speed%29 @@ -847,6 +914,7 @@ 2 2 2 + 2.8% @@ -860,6 +928,7 @@ 2 2 2 + 2.8% eventAction==VisitsSummary.get+%28count%29 @@ -872,6 +941,7 @@ 2 2 2 + 2.8% @@ -885,6 +955,7 @@ 2 2 2 + 2.8% eventAction==VisitsSummary.get+%28speed%29 @@ -897,6 +968,7 @@ 2 2 2 + 2.8% diff --git a/tests/System/expected/test___Events.getCategory_year.xml b/tests/System/expected/test___Events.getCategory_year.xml index bbc5b16..b33ce55 100644 --- a/tests/System/expected/test___Events.getCategory_year.xml +++ b/tests/System/expected/test___Events.getCategory_year.xml @@ -10,6 +10,7 @@ 2 2 2 + 50% eventCategory==API+%28count%29 @@ -22,6 +23,7 @@ 2 2 2 + 2.8% @@ -33,6 +35,7 @@ 2 2 2 + 2.8% @@ -44,6 +47,7 @@ 2 2 2 + 2.8% @@ -55,6 +59,7 @@ 2 2 2 + 2.8% @@ -66,6 +71,7 @@ 2 2 2 + 2.8% @@ -77,6 +83,7 @@ 2 2 2 + 2.8% @@ -88,6 +95,7 @@ 2 2 2 + 2.8% @@ -99,6 +107,7 @@ 2 2 2 + 2.8% @@ -110,6 +119,7 @@ 2 2 2 + 2.8% @@ -121,6 +131,7 @@ 2 2 2 + 2.8% @@ -132,6 +143,7 @@ 2 2 2 + 2.8% @@ -143,6 +155,7 @@ 2 2 2 + 2.8% @@ -154,6 +167,7 @@ 2 2 2 + 2.8% @@ -165,6 +179,7 @@ 2 2 2 + 2.8% @@ -176,6 +191,7 @@ 2 2 2 + 2.8% @@ -187,6 +203,7 @@ 2 2 2 + 2.8% @@ -198,6 +215,7 @@ 2 2 2 + 2.8% @@ -209,6 +227,7 @@ 2 2 2 + 2.8% @@ -222,6 +241,7 @@ 2 2 2 + 50% eventCategory==API+%28speed%29 @@ -234,6 +254,7 @@ 2 2 2 + 2.8% @@ -245,6 +266,7 @@ 2 2 2 + 2.8% @@ -256,6 +278,7 @@ 2 2 2 + 2.8% @@ -267,6 +290,7 @@ 2 2 2 + 2.8% @@ -278,6 +302,7 @@ 2 2 2 + 2.8% @@ -289,6 +314,7 @@ 2 2 2 + 2.8% @@ -300,6 +326,7 @@ 2 2 2 + 2.8% @@ -311,6 +338,7 @@ 2 2 2 + 2.8% @@ -322,6 +350,7 @@ 2 2 2 + 2.8% @@ -333,6 +362,7 @@ 2 2 2 + 2.8% @@ -344,6 +374,7 @@ 2 2 2 + 2.8% @@ -355,6 +386,7 @@ 2 2 2 + 2.8% @@ -366,6 +398,7 @@ 2 2 2 + 2.8% @@ -377,6 +410,7 @@ 2 2 2 + 2.8% @@ -388,6 +422,7 @@ 2 2 2 + 2.8% @@ -399,6 +434,7 @@ 2 2 2 + 2.8% @@ -410,6 +446,7 @@ 2 2 2 + 2.8% @@ -421,6 +458,7 @@ 2 2 2 + 2.8% diff --git a/tests/System/expected/test___Events.getName_year.xml b/tests/System/expected/test___Events.getName_year.xml index 5e0ddc1..dd69d63 100644 --- a/tests/System/expected/test___Events.getName_year.xml +++ b/tests/System/expected/test___Events.getName_year.xml @@ -10,6 +10,7 @@ 2 2 2 + 22.2% eventName==TagManager+%28count%29 @@ -22,6 +23,7 @@ 2 2 2 + 2.8% @@ -33,6 +35,7 @@ 2 2 2 + 2.8% @@ -44,6 +47,7 @@ 2 2 2 + 2.8% @@ -55,6 +59,7 @@ 2 2 2 + 2.8% @@ -66,6 +71,7 @@ 2 2 2 + 2.8% @@ -77,6 +83,7 @@ 2 2 2 + 2.8% @@ -88,6 +95,7 @@ 2 2 2 + 2.8% @@ -99,6 +107,7 @@ 2 2 2 + 2.8% @@ -112,6 +121,7 @@ 2 2 2 + 22.2% eventName==TagManager+%28speed%29 @@ -124,6 +134,7 @@ 2 2 2 + 2.8% @@ -135,6 +146,7 @@ 2 2 2 + 2.8% @@ -146,6 +158,7 @@ 2 2 2 + 2.8% @@ -157,6 +170,7 @@ 2 2 2 + 2.8% @@ -168,6 +182,7 @@ 2 2 2 + 2.8% @@ -179,6 +194,7 @@ 2 2 2 + 2.8% @@ -190,6 +206,7 @@ 2 2 2 + 2.8% @@ -201,6 +218,7 @@ 2 2 2 + 2.8% @@ -214,6 +232,7 @@ 2 2 2 + 5.6% eventName==SitesManager+%28count%29 @@ -226,6 +245,7 @@ 2 2 2 + 2.8% @@ -237,6 +257,7 @@ 2 2 2 + 2.8% @@ -250,6 +271,7 @@ 2 2 2 + 5.6% eventName==SitesManager+%28speed%29 @@ -262,6 +284,7 @@ 2 2 2 + 2.8% @@ -273,6 +296,7 @@ 2 2 2 + 2.8% @@ -286,6 +310,7 @@ 2 2 2 + 2.8% eventName==API+%28count%29 @@ -298,6 +323,7 @@ 2 2 2 + 2.8% @@ -311,6 +337,7 @@ 2 2 2 + 2.8% eventName==API+%28speed%29 @@ -323,6 +350,7 @@ 2 2 2 + 2.8% @@ -336,6 +364,7 @@ 2 2 2 + 2.8% eventName==CoreAdminHome+%28count%29 @@ -348,6 +377,7 @@ 2 2 2 + 2.8% @@ -361,6 +391,7 @@ 2 2 2 + 2.8% eventName==CoreAdminHome+%28speed%29 @@ -373,6 +404,7 @@ 2 2 2 + 2.8% @@ -386,6 +418,7 @@ 2 2 2 + 2.8% eventName==CustomDimensions+%28count%29 @@ -398,6 +431,7 @@ 2 2 2 + 2.8% @@ -411,6 +445,7 @@ 2 2 2 + 2.8% eventName==CustomDimensions+%28speed%29 @@ -423,6 +458,7 @@ 2 2 2 + 2.8% @@ -436,6 +472,7 @@ 2 2 2 + 2.8% eventName==Dashboard+%28count%29 @@ -448,6 +485,7 @@ 2 2 2 + 2.8% @@ -461,6 +499,7 @@ 2 2 2 + 2.8% eventName==Dashboard+%28speed%29 @@ -473,6 +512,7 @@ 2 2 2 + 2.8% @@ -486,6 +526,7 @@ 2 2 2 + 2.8% eventName==Goals+%28count%29 @@ -498,6 +539,7 @@ 2 2 2 + 2.8% @@ -511,6 +553,7 @@ 2 2 2 + 2.8% eventName==Goals+%28speed%29 @@ -523,6 +566,7 @@ 2 2 2 + 2.8% @@ -536,6 +580,7 @@ 2 2 2 + 2.8% eventName==LanguagesManager+%28count%29 @@ -548,6 +593,7 @@ 2 2 2 + 2.8% @@ -561,6 +607,7 @@ 2 2 2 + 2.8% eventName==LanguagesManager+%28speed%29 @@ -573,6 +620,7 @@ 2 2 2 + 2.8% @@ -586,6 +634,7 @@ 2 2 2 + 2.8% eventName==UsersManager+%28count%29 @@ -598,6 +647,7 @@ 2 2 2 + 2.8% @@ -611,6 +661,7 @@ 2 2 2 + 2.8% eventName==UsersManager+%28speed%29 @@ -623,6 +674,7 @@ 2 2 2 + 2.8% @@ -636,6 +688,7 @@ 2 2 2 + 2.8% eventName==VisitsSummary+%28count%29 @@ -648,6 +701,7 @@ 2 2 2 + 2.8% @@ -661,6 +715,7 @@ 2 2 2 + 2.8% eventName==VisitsSummary+%28speed%29 @@ -673,6 +728,7 @@ 2 2 2 + 2.8% diff --git a/tests/System/expected/test___Referrers.getReferrerType_year.xml b/tests/System/expected/test___Referrers.getReferrerType_year.xml index 84bdca4..ff7484e 100644 --- a/tests/System/expected/test___Referrers.getReferrerType_year.xml +++ b/tests/System/expected/test___Referrers.getReferrerType_year.xml @@ -9,6 +9,10 @@ 0 1 0 + 100% + 100% + 0% + 0% referrerType==direct 1