# test_adauga_factura_ui.ps1 - wrapper peste harness-ul generic pentru testul adauga_factura.
# Rulare:  powershell -ExecutionPolicy Bypass -File test_adauga_factura_ui.ps1
$ErrorActionPreference = 'Stop'
$Teste = $PSScriptRoot
& (Join-Path (Split-Path $Teste -Parent) 'vfp_ui_harness.ps1') `
    -TestPrg (Join-Path $Teste 'test_adauga_factura_ui.prg') `
    -Steps @('nota_goala','dialog_lei','dialog_valuta','dialog_dvi','dvi_rezultat_grila','final') `
    -ShotsDir (Join-Path $Teste 'screenshots_adauga_factura')
