fix(gui): clarifier aide et disponibilite moteurs
Passe theme clair, libelles utilisateur, aides conteneurs, recherche de mise a jour et indication honnete des moteurs optionnels non embarques. Tests GUI unitaires: 126 passed.
This commit is contained in:
@@ -120,6 +120,7 @@ def test_attach_tooltip_does_not_break_widget(ctk_root):
|
||||
|
||||
def test_subtabs_include_editable_profils():
|
||||
"""Retour Dom : sous-onglet Profils réintroduit (éditeur)."""
|
||||
pytest.importorskip("customtkinter")
|
||||
from gui_v6.tabs.tab_config import _SUBTABS
|
||||
|
||||
keys = [k for k, _ in _SUBTABS]
|
||||
@@ -297,6 +298,21 @@ def test_regles_moved_into_profils(ctk_root, tmp_path, monkeypatch):
|
||||
tab.destroy()
|
||||
|
||||
|
||||
def test_profile_masking_does_not_expose_templates_folder_button(ctk_root, tmp_path, monkeypatch):
|
||||
"""Retour Dom : le bouton Dossier ouvrait un navigateur et n'aide pas l'utilisateur."""
|
||||
from gui_v6.tabs import tab_config
|
||||
|
||||
monkeypatch.setattr(tab_config, "_app_base_dir", lambda: tmp_path)
|
||||
tab = tab_config.ConfigTab(ctk_root)
|
||||
tab._show_sub("pro")
|
||||
tab.update_idletasks()
|
||||
|
||||
texts = _all_texts(tab._panels["pro"])
|
||||
assert "🖊 Ouvrir l'éditeur de masque" in texts
|
||||
assert "📁 Dossier" not in texts
|
||||
tab.destroy()
|
||||
|
||||
|
||||
def test_unavailable_engines_disabled_in_reglages(ctk_root, tmp_path, monkeypatch):
|
||||
"""Honnêteté moteurs : EDS-Pseudo / GLiNER non embarqués → switch désactivé
|
||||
et état forcé à False ; CamemBERT-bio reste actif."""
|
||||
|
||||
Reference in New Issue
Block a user