# test_repro_trigger_focus_terminat.ps1 - wrapper peste harness-ul generic pentru testul de
# REPRODUCERE cu declansatorul (a): focus pe randul T-DVI + Terminat.
# Rulare:  powershell -ExecutionPolicy Bypass -File test_repro_trigger_focus_terminat.ps1
$ErrorActionPreference = 'Stop'
$Teste = $PSScriptRoot
& (Join-Path (Split-Path $Teste -Parent) 'vfp_ui_harness.ps1') `
    -TestPrg (Join-Path $Teste 'test_repro_trigger_focus_terminat.prg') `
    -Steps @('nota_goala','doc1_completat','doc1_adaugat','doc2_completat','doc2_adaugat','articole_adaugate','sincronizat','verificat_flux_curat','final') `
    -ShotsDir (Join-Path $Teste 'screenshots_repro_trigger_focus_terminat') `
    -SyncDir (Join-Path $Teste 'uisync_repro_trigger_focus_terminat') `
    -StepTimeoutSec 180 `
    -ReadyTimeoutSec 180
