The application is published at horaires.ita-ito.com. One origin serves both the panel and the browser, so the OIDC callback, the image URL the device is handed and the documentation all follow from this single name. Port 3000 is already taken by the facture_ocr stack on the development machine, so the app listens on 3010 there and the reason is written next to the setting rather than left to be rediscovered. The fixtures and the frozen payload snapshot move to the real domain too: a contract snapshot carrying a hostname that never existed is a small puzzle left for whoever reads it next. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012cSY9pVhZmJUKNN7wf1Myd
85 lines
2.0 KiB
Plaintext
85 lines
2.0 KiB
Plaintext
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||
|
||
exports[`buildScreenPayload > matches the frozen payload contract 1`] = `
|
||
{
|
||
"banner": {
|
||
"kind": "MESSAGE",
|
||
"text_en": "Exceptionally closed on Thursday afternoon",
|
||
"text_fr": "Fermeture exceptionnelle jeudi après-midi",
|
||
},
|
||
"generated_at": "2026-09-22T12:00:00+02:00",
|
||
"logo_url": "https://horaires.ita-ito.com/brand/logo-eink.png",
|
||
"schema": 1,
|
||
"shop_name": "ITA ITO",
|
||
"today": {
|
||
"date_en": "Tuesday 22 September",
|
||
"date_fr": "Mardi 22 septembre",
|
||
"hours_text": "10:00 – 18:30",
|
||
"is_exception": false,
|
||
"next_change_en": "Closes at 6:30 pm",
|
||
"next_change_fr": "Ferme à 18:30",
|
||
"status": "OPEN",
|
||
"status_en": "OPEN",
|
||
"status_fr": "OUVERT",
|
||
},
|
||
"week": [
|
||
{
|
||
"hours_text": "",
|
||
"is_closed": true,
|
||
"is_exception": false,
|
||
"is_today": false,
|
||
"label_en": "Mon",
|
||
"label_fr": "Lun",
|
||
},
|
||
{
|
||
"hours_text": "10:00 – 18:30",
|
||
"is_closed": false,
|
||
"is_exception": false,
|
||
"is_today": true,
|
||
"label_en": "Tue",
|
||
"label_fr": "Mar",
|
||
},
|
||
{
|
||
"hours_text": "10:00 – 13:00 · 14:00 – 18:30",
|
||
"is_closed": false,
|
||
"is_exception": false,
|
||
"is_today": false,
|
||
"label_en": "Wed",
|
||
"label_fr": "Mer",
|
||
},
|
||
{
|
||
"hours_text": "14:00 – 18:30",
|
||
"is_closed": false,
|
||
"is_exception": true,
|
||
"is_today": false,
|
||
"label_en": "Thu",
|
||
"label_fr": "Jeu",
|
||
},
|
||
{
|
||
"hours_text": "",
|
||
"is_closed": true,
|
||
"is_exception": true,
|
||
"is_today": false,
|
||
"label_en": "Fri",
|
||
"label_fr": "Ven",
|
||
},
|
||
{
|
||
"hours_text": "10:00 – 18:30",
|
||
"is_closed": false,
|
||
"is_exception": false,
|
||
"is_today": false,
|
||
"label_en": "Sat",
|
||
"label_fr": "Sam",
|
||
},
|
||
{
|
||
"hours_text": "",
|
||
"is_closed": true,
|
||
"is_exception": false,
|
||
"is_today": false,
|
||
"label_en": "Sun",
|
||
"label_fr": "Dim",
|
||
},
|
||
],
|
||
}
|
||
`;
|