# test_debifare_invaluta.ps1 - wrapper subtire peste harness-ul generic vfp_ui_harness.ps1.
# Verifica fix-ul Grid1.cInValuta.Check1.Valid: debifare/re-bifare in_valuta propaga corect
# pe tot grupul doc_key (B+T), fara sa restaureze valuta la re-bifare.
# Rulare:  powershell -ExecutionPolicy Bypass -File test_debifare_invaluta.ps1
$ErrorActionPreference = 'Stop'
$Teste = $PSScriptRoot
& (Join-Path (Split-Path $Teste -Parent) 'vfp_ui_harness.ps1') `
    -TestPrg (Join-Path $Teste 'test_debifare_invaluta.prg') `
    -Steps @('formular_afisat','debifare','re_bifare','valideaza_sume_doc_spart','recalc_curs_doc_spart','debifare_participa_valuta') `
    -SyncDir (Join-Path $Teste 'uisync_debifare') `
    -ShotsDir (Join-Path $Teste 'screenshots_debifare')
