# test_import_nota_total_ui.ps1 - wrapper subtire peste harness-ul generic vfp_ui_harness.ps1.
# Testeaza runda26a/26b (actualizare AUTOMATA a totalului facturii + recalc TVA la editare
# manuala a unui rand S in valuta, controlat de Thisform.lRecalcTva).
# Rulare:  powershell -ExecutionPolicy Bypass -File test_import_nota_total_ui.ps1
$ErrorActionPreference = 'Stop'
$Teste = $PSScriptRoot
& (Join-Path (Split-Path $Teste -Parent) 'vfp_ui_harness.ps1') `
    -TestPrg (Join-Path $Teste 'test_import_nota_total_ui.prg') `
    -Steps @('factura_adaugata','spargere_articole','editare_S_auto_recalc_tva','editare_S_lRecalcTva_false','editare_S_T_manual_neatins','final') `
    -ShotsDir (Join-Path $Teste 'screenshots_total') `
    -SyncDir (Join-Path $Teste 'uisync_total')
