fix: reconcile annual example ledger and illustrative months in QA

This commit is contained in:
2026-11-20 11:01:28 +02:00
parent e27b354192
commit 65a52aa3c9
10 changed files with 935 additions and 7 deletions
@@ -126,6 +126,10 @@ void test('annual example renders expected results and source gaps without block
/As vendas mensais médias não atingem o ponto de equilíbrio/,
);
assert.match(html, /não se distribuem valores pelos meses/);
assert.match(html, /Balanço projectado/);
assert.match(html, /Distribuição mensal ilustrativa/);
assert.match(html, /Não é financiamento confirmado/);
assert.equal((html.match(/Projecção mensal/g) ?? []).length, 3);
assert.doesNotMatch(html, /role="alert"|aria-invalid="true"|disabled=/);
assert.match(html.replace(/[\s\u00a0\u202f]/g, ''), /1325000[.,]00/);
});