diff --git a/tests/test_draco_alertes.py b/tests/test_draco_alertes.py index 86c08f6..bbee83f 100644 --- a/tests/test_draco_alertes.py +++ b/tests/test_draco_alertes.py @@ -1,4 +1,4 @@ -"""Fusion #69 — Alertes unifiées (chantier 2, Flowdeck). +"""Fusion #69 — Alertes unifiées (chantier 2 + chantier 5, Flowdeck). Source réelle de Flowdeck : GET /api/notifications (non lues = actives, `url` relative pour le lien profond), déjà exposée et @@ -61,3 +61,24 @@ def test_notifications_api_et_cors_soeur(client): headers={"Origin": "https://evil.example", "Access-Control-Request-Method": "GET"}) assert "access-control-allow-origin" not in r4.headers + + +def test_chantier5_onglet_console_spark_et_alertes_onglets(client): + """Chantier 5 : onglet Console Spark en dernier dans la barre + (gabarit lu, pages authentifiées inatteignables en sandbox comme + pour le test #69), et vue Alertes en onglets (module + styles).""" + from pathlib import Path + + gabarit = Path("app/templates/_draco_bar.html").read_text() + nav = gabarit.split('