← back to build-pages
smoke: X-Response-Time + rendered-in footer assertions on /p/butlr + 2 smoke
66f43351245a6bda20a22b8b198e3d972c54e394 · 2026-05-13 18:58:48 -0700 · SteveStudio2
Files touched
Diff
commit 66f43351245a6bda20a22b8b198e3d972c54e394
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date: Wed May 13 18:58:48 2026 -0700
smoke: X-Response-Time + rendered-in footer assertions on /p/butlr + 2 smoke
---
test/smoke.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/smoke.js b/test/smoke.js
index 5042aa7..3f3f8a5 100644
--- a/test/smoke.js
+++ b/test/smoke.js
@@ -145,6 +145,8 @@ function check(name, cond, hint = '') {
r = await fetch('/p/butlr');
const ms = Date.now() - t0;
check('butlr: warm <250ms', ms < 250, `actual ${ms}ms`);
+ check('butlr: X-Response-Time',/ms$/.test(r.headers['x-response-time'] || ''));
+ check('butlr: rendered-in footer', /rendered in \d+ms/.test(r.body));
}
// 7. unknown project → 404
← 2047a04 p/:slug: 'rendered in Xms' footer (parity with home)
·
back to build-pages
·
api: /api/projects/:slug now includes authors[] breakdown 4acf48a →