Add campaign scheduling lifecycle jobs

This commit is contained in:
2026-06-05 21:38:34 +02:00
parent 3f148bcec2
commit 70951789d2
7 changed files with 384 additions and 0 deletions

View File

@@ -28,3 +28,13 @@ test("campaign board renders campaigns as responsive cards", async () => {
assert.match(source, /toggleCampaign\(campaign\)/);
assert.match(source, /runCampaign\(campaign\)/);
});
test("campaign board surfaces recent run logs", async () => {
const source = await readFile(campaignsBoardPath, "utf8");
assert.match(source, /api\.runs\.list/);
assert.match(source, /type:\s*"campaign"/);
assert.match(source, /Aktuelle Run-Logs/);
assert.match(source, /run\.errorSummary/);
assert.match(source, /campaign_cron_skipped/);
});