Files
rpa_vision_v3/docs/archive/misc/dashboard/DASHBOARD_TESTS_FIX.md
Dom a27b74cf22 v1.0 - Version stable: multi-PC, détection UI-DETR-1, 3 modes exécution
- Frontend v4 accessible sur réseau local (192.168.1.40)
- Ports ouverts: 3002 (frontend), 5001 (backend), 5004 (dashboard)
- Ollama GPU fonctionnel
- Self-healing interactif
- Dashboard confiance

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 11:23:51 +01:00

875 B

🔧 Correction des Tests du Dashboard

Problème Identifié

Les tests du dashboard affichent "undefined" car pytest n'est pas installé dans l'environnement virtuel.

Symptômes

Test: tests/unit/test_ui_element.py
Statut: ❌ ÉCHOUÉ
undefined
undefined

Cause

Le dashboard essaie d'exécuter pytest mais la commande n'existe pas, ce qui fait échouer l'exécution et retourne des valeurs undefined au frontend.


Solution Rapide

Option 1 : Script Automatique

cd rpa_vision_v3
./fix_dashboard_tests.sh

Option 2 : Installation Manuelle

cd rpa_vision_v3
source venv_v3/bin/activate
pip install pytest>=7.0.0

🔍 Vérification

cd rpa_vision_v3
source venv_v3/bin/activate
pytest tests/unit/test_ui_element.py -v

Date : 24 novembre 2025
Statut : Corrigé