# test_taxcode_scc_aliniere.ps1 - wrapper subtire peste harness-ul generic vfp_ui_harness.ps1.
# aliniaza_tva_la_baza reface taxcode (SAFT) si comutarea scc/ascc 4427/creditor S pe randurile T
# realiniate la familia S-ului - scenariu produs prin fluxul REAL (DVI+articole+dublu-click
# Explicatie TVA+editare creditor prin grid), ca in test_repro_tva11_explicatie.prg.
# Rulare:  powershell -ExecutionPolicy Bypass -File test_taxcode_scc_aliniere.ps1
$ErrorActionPreference = 'Stop'
$Teste = $PSScriptRoot
& (Join-Path (Split-Path $Teste -Parent) 'vfp_ui_harness.ps1') `
    -TestPrg (Join-Path $Teste 'test_taxcode_scc_aliniere.prg') `
    -Steps @('factura_dvi','articole_adaugate','sync1_baseline','alegere_ce_4427','editare_creditor_s','revenire_fo','dblclick_fo','dblclick_ce','final') `
    -ShotsDir (Join-Path $Teste 'screenshots_taxcode_scc_aliniere') `
    -SyncDir (Join-Path $Teste 'uisync_taxcode_scc_aliniere') `
    -StepTimeoutSec 220 `
    -ReadyTimeoutSec 220
