@davoodmehraban89 / Factor-easy / commits / 570f0bb
Fork 0

سامانه صدور فاکتور و حسابداری

test: align print total with Persian digits

davoodmehraban89 committed Oct 7, 2026 at 18:15 UTC 570f0bb540700c149f53b05645bd65399fa74825
1 file changed +1 -1
scripts/taxpayer-print.spec.js
+1 -1
@@ -30,7 +30,7 @@ test('Taxpayer System print follows the approved official landscape structure',a
30 expect(mark.x+mark.width).toBeLessThan(settle.x);
31 expect(await page.locator('.final-grid .tax-logo-slot').count()).toBe(0);
32 expect((await page.locator('.final-grid').boundingBox()).height).toBeLessThan(55);
33 - await expect(page.locator('.items-table tbody tr').first()).toContainText('34,136,903,725');
33 + await expect(page.locator('.items-table tbody tr').first()).toContainText('۳۴,۱۳۶,۹۰۳,۷۲۵');
34 await expect(page.locator('.items-table tbody tr').first()).toContainText('1.00');
35 await expect(page.locator('.seller-contract')).toContainText('205108734859');
36 expect((await page.locator('.amount-words').textContent()).match(/ریال/g)).toHaveLength(1);