# test_pret_cu_tva_nivel2_retur.ps1 - wrapper peste harness-ul generic pentru ramura de retur
# a plafonului recalculat (S2c, rec_s2c_ncantitatemax.md). Rulare:
# powershell -ExecutionPolicy Bypass -File test_pret_cu_tva_nivel2_retur.ps1
$ErrorActionPreference = 'Stop'
$Teste = $PSScriptRoot
& (Join-Path (Split-Path $Teste -Parent) 'vfp_ui_harness.ps1') `
    -TestPrg (Join-Path $Teste 'test_pret_cu_tva_nivel2_retur.prg') `
    -Steps @('formular_afisat', 'p0_adaugare', 'p1_doar_pret', 'p2_stoc_extern', 'p3_in_plafon_nou', 'p4_peste_plafon') `
    -ShotsDir (Join-Path $Teste 'screenshots_nivel2_retur') `
    -SyncDir (Join-Path $Teste 'uisync_nivel2_retur') `
    -StepTimeoutSec 60 `
    -ReadyTimeoutSec 90
