validate live API response contracts

This commit is contained in:
2026-09-06 19:23:59 +03:00
parent fa3fdf0fee
commit cc3c3ad73d
3 changed files with 34 additions and 9 deletions
+15 -3
View File
@@ -1,10 +1,11 @@
{
"base": "https://ihaleist.com",
"readOnly": true,
"checkedAt": "2026-09-06T16:13:35.286Z",
"checkedAt": "2026-09-06T16:23:52.207Z",
"checks": {
"home": {
"status": 200,
"contentType": "text/html",
"headers": {
"x-content-type-options": null,
"referrer-policy": null,
@@ -13,19 +14,30 @@
},
"health": {
"status": 200,
"contentType": "application/json; charset=utf-8",
"headers": {
"x-content-type-options": null,
"referrer-policy": null,
"permissions-policy": null
}
},
"json": {
"ok": true
},
"apiSuccess": true
},
"ready": {
"status": 404,
"contentType": "application/json; charset=utf-8",
"headers": {
"x-content-type-options": null,
"referrer-policy": null,
"permissions-policy": null
}
},
"json": {
"success": false,
"error": "not found"
},
"apiSuccess": false
}
},
"pass": false,
+6
View File
@@ -2254,3 +2254,9 @@ Doğrulama: 294 otomatik test, üretim derlemesi ve `git diff --check` başarıl
Browser QA Playwright context’i `America/New_York` saat diliminde çalışacak şekilde ayarlandı; buna rağmen İstanbul tarih/saat akışları, günlük bülten, ICS, çıktı ve mobil viewport kontrolleri başarılı. Böylece önceki zaman standardizasyonu yalnızca Türkiye yerel cihazında değil, farklı cihaz saat diliminde de sınanıyor.
Doğrulama: browserTimezone `America/New_York`, mobil viewport 390 px ve yatay taşma yok; tüm kabul kontrolleri başarılı.
### 2026-09-06 · Canlı probe JSON sözleşmesi
Canlı drift probe’u artık API yanıt gövdesini de doğruluyor: `/api/health` için `ok:true`, `/api/ready` için `success:true` ve JSON içerik türü aranıyor. Böylece HTTP 200 dönen SPA/ara hata sayfaları sağlıklı servis kabul edilmiyor.
Güncel canlı sonuçta health `ok:true` olsa da readiness `404` ve güvenlik başlıkları eksik olduğu için probe başarısız kaldı; kanıt `qa-live-runtime.json` içinde.