# test_discount_factura.ps1 - wrapper peste harness-ul generic pentru discountul financiar pe
# factura de import (model B/G/T, un singur rand G) - Runda32.
#   powershell -ExecutionPolicy Bypass -File test_discount_factura.ps1
$ErrorActionPreference = 'Stop'
$Teste = $PSScriptRoot
& (Join-Path (Split-Path $Teste -Parent) 'vfp_ui_harness.ps1') `
    -TestPrg (Join-Path $Teste 'test_discount_factura.prg') `
    -Steps @('doc1_creat','doc1_g_t_verificat','articol_stabilitate','nir_best_effort','stergere_document','discount_zero','factura_ron','final') `
    -ShotsDir (Join-Path $Teste 'screenshots_discount_factura') `
    -SyncDir (Join-Path $Teste 'uisync_discount_factura') `
    -StepTimeoutSec 180 `
    -ReadyTimeoutSec 180
