@davoodmehraban89 / Factor-easy / commits / 9281d7a
Fork 0

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

test: keep synthetic product-search screenshot focused on invoice selector

davoodmehraban89 committed Oct 11, 2026 at 14:45 UTC 9281d7a078144302df4dbf23a066dc11e49a4a97
1 file changed +1 -1
scripts/ux-hardening-r2.spec.js
+1 -1
@@ -66,7 +66,7 @@ test('product combobox searches one field by code, name and specification',async
66 test('existing invoice row rehydrates after cloud data arrives, displays an unclipped list and fills price/unit',async({page})=>{
67 await page.setViewportSize({width:1280,height:800});
68 await page.setContent(`<!doctype html><html lang="fa" dir="rtl"><head><style>
69 - body{font-family:Tahoma,sans-serif;background:#f8fafc;padding:26px;color:#1e293b}h2{margin:12px 0 16px}
69 + body{font-family:Tahoma,sans-serif;background:#f8fafc;padding:26px;color:#1e293b}#view-settings,.finora-data-stats{display:none!important}h2{margin:12px 0 16px}
70 .invoice-card{border:1px solid #d8e0e8;background:white;border-radius:12px;padding:20px;max-width:1120px}
71 .table-clip{overflow:hidden;border:1px solid #d5dae0;border-radius:8px;max-height:130px}
72 table{width:100%;border-collapse:collapse;text-align:right}td,th{padding:15px 12px;border-bottom:1px solid #e2e8f0}