feat(vwb): add dashboard competence testing and health tools
This commit is contained in:
@@ -63,6 +63,16 @@ class TestDashboardRoutes:
|
||||
assert 'competences' in data
|
||||
assert 'items' in data['competences']
|
||||
|
||||
def test_knowledge_base_page_includes_test_safety_guards(self, client):
|
||||
"""Le bouton Tester embarque les garde-fous Win+R et evidence vide."""
|
||||
resp = client.get('/knowledge-base')
|
||||
assert resp.status_code == 200
|
||||
html = resp.get_data(as_text=True)
|
||||
assert 'confirmRunDialogReplay' in html
|
||||
assert 'peut ouvrir Win+R / Exécuter' in html
|
||||
assert 'hasReplayEvidence' in html
|
||||
assert 'Verdict valide refusé' in html
|
||||
|
||||
def test_dashboard_replay_competence_proxy(self, client, monkeypatch):
|
||||
"""Le dashboard lance un replay competence supervise via streaming."""
|
||||
calls = []
|
||||
|
||||
Reference in New Issue
Block a user