Add campaign scheduling lifecycle jobs
This commit is contained in:
@@ -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/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user