# test_dvi_dialog_ui.ps1 - wrapper peste harness-ul generic pentru testul dialogului DVI/discount.
# Rulare:  powershell -ExecutionPolicy Bypass -File test_dvi_dialog_ui.ps1
$ErrorActionPreference = 'Stop'
$Teste = $PSScriptRoot
& (Join-Path (Split-Path $Teste -Parent) 'vfp_ui_harness.ps1') `
    -TestPrg (Join-Path $Teste 'test_dvi_dialog_ui.prg') `
    -Steps @('nota_goala','coada_fifo_mock','precompletare_dvi','ron_pe_dvi','garda_dirty_tva_dvi','discount_fara_bifa','dirty_curs_dvi','f1_dvi_curs_zero','f2_discount_negativ_sau_max','tab_fara_modificare','final') `
    -ShotsDir (Join-Path $Teste 'screenshots_dvi_dialog') `
    -SyncDir (Join-Path $Teste 'uisync_dvi_dialog') `
    -StepTimeoutSec 180 `
    -ReadyTimeoutSec 180