Website 1.4.0: nightly database backups and background jobs
As Accounts and Cross Events: a gzipped pg_dump every night (02:20) into backend/backups/, the same website-*.sql.gz files crosscode makes before updates, with Admin -> Backups (back up now, download, how many to keep). The heartbeat, event feed and YouTube move from plain timers onto pg-boss with the backup, and Admin -> Background jobs switches each on or off, changes its schedule or runs it now. The heartbeat now reports the newest backup (before: always none, so the Hub warned) and the real job state. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -169,10 +169,10 @@ test("an event added and published shows on the site at once (its own Publish)",
|
||||
});
|
||||
|
||||
test("the admin's screens are accessible", async ({ page, context }) => {
|
||||
// Thirteen screens, each checked by axe.
|
||||
// Fifteen screens, each checked by axe (1.4.0: Backups and Background jobs).
|
||||
test.setTimeout(240_000);
|
||||
await signIn(context, "owner");
|
||||
for (const path of ["/admin", "/admin/template", "/admin/pages", "/admin/ministries", "/admin/leaders", "/admin/messages", "/admin/events", "/admin/linked", "/admin/media", "/admin/publish", "/admin/settings", "/admin/people", "/admin/audit"]) {
|
||||
for (const path of ["/admin", "/admin/template", "/admin/pages", "/admin/ministries", "/admin/leaders", "/admin/messages", "/admin/events", "/admin/linked", "/admin/media", "/admin/publish", "/admin/settings", "/admin/people", "/admin/audit", "/admin/backups", "/admin/jobs"]) {
|
||||
await page.goto(path);
|
||||
await expect(page.getByRole("heading", { level: 1 })).toBeVisible();
|
||||
const axe = await new AxeBuilder({ page }).withTags(["wcag2a", "wcag2aa", "wcag21aa", "wcag22aa"]).analyze();
|
||||
|
||||
Reference in New Issue
Block a user