Improve audit pipeline and outreach review

This commit is contained in:
2026-06-08 22:16:32 +02:00
parent ff18fc202e
commit 1695110e0a
34 changed files with 2792 additions and 238 deletions

View File

@@ -83,6 +83,21 @@ test("OutreachReviewWorkspace uses the review workspace API and required control
].forEach((label) => assert.match(source, new RegExp(label)));
});
test("OutreachReviewWorkspace renders a compact queue with one selected detail editor", async () => {
const source = await readFile(outreachWorkspacePath, "utf8");
assert.match(source, /selectedRecordId/);
assert.match(source, /selectedRecord/);
assert.match(source, /Details prüfen/);
assert.match(source, /Review-Queue/);
assert.match(source, /reviewStatusFilters/);
assert.match(source, /setActiveFilter/);
assert.match(source, /Bereit zum Versand/);
assert.match(source, /Mail offen/);
assert.match(source, /role="status"/);
assert.match(source, /aria-pressed=\{selectedRecord\?\.id === record\.id\}/);
});
test("OutreachReviewWorkspace keeps exactly one recommended email subject and body editor", async () => {
const source = await readFile(outreachWorkspacePath, "utf8");