# test_repro_flux_curat_doc_dublu.ps1 - wrapper peste harness-ul generic pentru testul de
# REPRODUCERE cu flux CURAT (fara nicio interactiune de grila) - doua documente (factura +
# taxe vamale) prin dialogul real, articole, sincronizare, Terminat.
# Rulare:  powershell -ExecutionPolicy Bypass -File test_repro_flux_curat_doc_dublu.ps1
$ErrorActionPreference = 'Stop'
$Teste = $PSScriptRoot
& (Join-Path (Split-Path $Teste -Parent) 'vfp_ui_harness.ps1') `
    -TestPrg (Join-Path $Teste 'test_repro_flux_curat_doc_dublu.prg') `
    -Steps @('nota_goala','doc1_completat','doc1_adaugat','doc2_completat','doc2_adaugat','articole_adaugate','sincronizat','verificat_flux_curat','final') `
    -ShotsDir (Join-Path $Teste 'screenshots_repro_flux_curat') `
    -SyncDir (Join-Path $Teste 'uisync_repro_flux_curat') `
    -StepTimeoutSec 180 `
    -ReadyTimeoutSec 180
