# test_sparge_secundare.ps1 - wrapper peste harness-ul generic pentru testul optiunii
# "sparge facturile secundare pe conturile/analiticele articolelor" (runda 23). Rulare:
#   powershell -ExecutionPolicy Bypass -File test_sparge_secundare.ps1
$ErrorActionPreference = 'Stop'
$Teste = $PSScriptRoot
& (Join-Path (Split-Path $Teste -Parent) 'vfp_ui_harness.ps1') `
    -TestPrg (Join-Path $Teste 'test_sparge_secundare.prg') `
    -Steps @('3documente','articole_adaugate','sync1_spargere','sync2_debifat','sync3_rebifat','final') `
    -ShotsDir (Join-Path $Teste 'screenshots_sparge_secundare') `
    -SyncDir (Join-Path $Teste 'uisync_sparge_secundare') `
    -StepTimeoutSec 180 `
    -ReadyTimeoutSec 180
