fix(campaign): bound operator queue polling

This commit is contained in:
2026-07-22 09:39:03 +02:00
parent 99d44eeb8d
commit 735e874bd0
4 changed files with 136 additions and 21 deletions

View File

@@ -22,10 +22,14 @@ assert.match(source, /next\.set\("campaign", campaignId\)[\s\S]*next\.set\("vers
assert.match(source, /setSearchParams\(next, \{ replace: true \}\)/);
assert.match(source, /window\.setInterval[\s\S]*10_000/);
assert.match(source, /window\.setInterval[\s\S]*60_000/);
assert.match(source, /pendingFullDiscoveryRef\.current = true/);
assert.match(source, /if \(pendingFullDiscoveryRef\.current\)[\s\S]*fullDiscoveryLoadRef\.current\(\)/);
assert.match(source, /<ConfirmDialog[\s\S]*cancelTarget/);
assert.match(source, /includeVersions: true/);
assert.match(source, /getCampaignSummary\(settings, campaign\.id, version\.id\)/);
assert.match(source, /campaignVersionWorkItems/);
assert.match(source, /operatorDeliveryStateCounts/);
assert.doesNotMatch(source, /queuedOrActive: numberValue\(cards\.queued_or_active\)/);
assert.match(source, /getCampaignJobs\(settings, selectedRow\.campaign\.id,[\s\S]*versionId: selectedVersionId/);
assert.doesNotMatch(source, /getCampaignJobDetail|getCampaignJobsDelta|diagnostics/);
assert.match(source, /mode: "server"/);