Complete Rybbit campaign aggregation
This commit is contained in:
@@ -52,6 +52,9 @@ test("campaign metrics query exposes lightweight funnel and run metrics", () =>
|
||||
]) {
|
||||
assert.match(metricsSource, new RegExp(label));
|
||||
}
|
||||
assert.match(metricsSource, /auditSegments/);
|
||||
assert.match(metricsSource, /campaignName/);
|
||||
assert.match(metricsSource, /region/);
|
||||
});
|
||||
|
||||
test("analytics dashboard renders filters, Convex metrics, and Rybbit error states", () => {
|
||||
@@ -72,4 +75,8 @@ test("analytics dashboard renders filters, Convex metrics, and Rybbit error stat
|
||||
assert.match(componentSource, /Rybbit-Daten konnten nicht geladen werden/);
|
||||
assert.match(componentSource, /Audit-Öffnungen/);
|
||||
assert.match(componentSource, /CTA-Klicks/);
|
||||
assert.match(componentSource, /rybbitGroups/);
|
||||
assert.match(componentSource, /Kampagne/);
|
||||
assert.match(componentSource, /Nische/);
|
||||
assert.match(componentSource, /Region/);
|
||||
});
|
||||
|
||||
@@ -84,6 +84,13 @@ test("summarizeCampaignRybbitEvents aggregates public audit activity", () => {
|
||||
auditOpens: 1,
|
||||
ctaClicks: 1,
|
||||
outboundClicks: 1,
|
||||
byPath: {
|
||||
"/audit/a": {
|
||||
auditOpens: 1,
|
||||
ctaClicks: 1,
|
||||
outboundClicks: 1,
|
||||
},
|
||||
},
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user