Files
Geniusia_v2/rpa_vision_v3/DASHBOARD_TESTS_FIX.md
2026-03-05 00:20:25 +01:00

4.4 KiB

igé : Corrt** Statu: V3.0 Version re 2025
embove
: 24 nDat **---

APIDE.mdDEMARRAGE_Ride** :émarrage rap*Dd`

  • ard/README.mb_dashbo : `weboard**Dash
  • *NG_GUIDE.md** : TESTI test- **Guide detation

📚 Documen

ure est à jo codifier que leér 3. V.txtequirementsll -r rinstapip : s éesont installndances que les dépe2. Vérifier long.py -v --tb=_ui_elementunit/testst tests/yte:p détaillés les logsrifier Véion** : 1.

**Solutething

Symptôm **uent ts Écholème : Tesob# Pr

-e .

tallv3
pip insvision_h
cd rpa_
```basolution** :**S

3'
```vision_vamed 'rpa_module no : NorFoundErroduleNot :

M****Symptômer

ort Erro: Impme

Problèes

PossiblProblèmes 🐛 Autres

--

-```= ==========================s ====.15n 0sed i=== 20 pas==================== ... ====== PASSEDlizationiags_serest_embeddin:tgs:tEmbeddinestUIElemenent.py::Tt_ui_elem/unit/tesestsgs PASSED te_embeddincreat::test_ngstEmbeddiElemenstUI::Te.pyentemui_elunit/test_s

tests/tem0 i 20 collectedy-1.5. pluggytest-8.3.4,.7, p Python 3.12 linux --latform======== p==================== ==artsion stest sess=== t=======================

=== RÉUSSI Statut: nt.pyemest_ui_elt/te tests/uniTest: er :


AprèstteRésultat A

## 🎯 

--->=7.0.00 pytest0.` Flask==3.``Après** : **

.0 ```Flask==3.0``t** :)

**Avan.txttsiremenard/requeb_dashboendances (`w## 3. Dép

;
}or.message}`erru: ${réseaeur ntent = `ErrxtCoputDiv.teoutror) {
    tch (er
} ca{stderr}`;dout}$`${stnt = tConteputDiv.tex
    outr || '';tder data.sr =stderconst ;
    )'rtie'(aucune so.stdout || dout = data st   const
    
 ;
    }  return
      or}`;rr: ${data.eErreurent = `ContputDiv.text      out
  or) {ta.errif (da
    
    ;se.json()responit  awa data =
    const    }
     return;
      
 `;or}rror.e{erreur: $`Errntent = textCoputDiv.out  
      );json(esponse. await rr =t erro  cons) {
      e.okf (!respons
    i(...);
    wait fetchonse = aesp   const rry {
 vascript
t`jaès** :
``**Apr``

ined
`t est undefstdoua.datined" si efiche "und`;
// Affdata.stderr}n${\n\ta.stdout}datent = `${onextCiv.t);
outputDn(se.jso responata = await
const davascript
```j**Avant** :l`)

dex.htmtemplates/inshboard/`web_daend (2. Front`

### )
`` or ''
}.stderr: resulterr'   'stde)',
 ti(aucune sorout or ': result.stdt''stdounify({
    n jsour ...)
retrun(cmd,cess.ubpro= sesult s
rrreurn d'etion avec gesécutio})

# Expath}': {test_trouvéchier non Fi'error': f'sonify({ j  returnxists():
  ath.eull_per
if not ffichion du # Vérificati
   })
n trouvé'
  'pytest no':    'stderr    ,
dout': '' 'st      se,
 ccess': Fal       'sué',
 installytest non 'p 'error': 
       ify({eturn json 0:
    returncode !=check.rst_..)
if pyte'], .h', 'pytestrun(['whicss.ocesubpr= est_check pytest
pyton de érificatipython
# Vrès** :

**Ap``d, ...) `ocess.run(cmlt = subpr resuhort']tb=s--, '-v', 'ull_path)r(fst', st = ['pyte existe cmd si pytestification Pas de vérthon #:

**Avant** d/app.py`)
ashboarkend (`web_d### 1. Bacées

ppliquections A## 📝 Corr-

t

--ener correctem'affichenant st mainttat devrai résul5. Le test
 à côté d'unur **▶**r sique Cl4.sts**
Te l'onglet **dansr 
3. Allecalhost:5001//lor : http:vriOud`
2. dashboarun.sh --board : `./rshr le da

1. Lancehboard# Via le Das
## -v

tests/sts pytestes teus l

Toit/ -v

tests/untest nitaires pyts uus les tes -v

Toement.py/test_ui_eltests/unitle

pytest # Test simpvate

3/bin/actinv_v ve_v3 source rpa_vision cd

lementer Manuel

### TestVérification 🔍 -

##

--```--version
pytest >=7.0.0
ll pytestip instae
patv3/bin/activenv_ce vn_v3
sourisio
cd rpa_vh```bas

n Manuelletio2 : Installaion 

### Optimpletest sste un  ✅ Te4.n
tallatio'ins✅ Vérifie lpytest
3. nstalle tuel
2. ✅ Innement virve l'enviro:
1. ✅ Acticript 
Ce s

s.shtestshboard_fix_da ./n_v3siopa_vi r cd```bashue

pt Automatiqri : Sc 1Option

on Rapideluti-

So.

--u frontenddefinedaleursundes vaourne retcution et exééchouer l' qui fait , cexiste pasande n'ela commtmais pytesd'exécuter essaie dashboardse

Le

Caued

efinundned
efiUÉ
undatut: ❌ ÉCHOement.py
Stt/test_ui_el: tests/uniTestes

Symptômvirtuel.

nnement 'envirodans lllé** stainest pas ytest n'ar **p" cfinednt "undeffichedashboard aests du fié

Les te Identi## Problèmd

boarashests du D des Torrection 🔧 C#