@davoodmehraban89 / Factor-easy / commits / b78f2bb
Fork 0

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

test: count eleven valid contact matches when 10 includes the typed 0

davoodmehraban89 committed Oct 12, 2026 at 00:06 UTC b78f2bb1b3b5de75418b172d45988b0f29fcb581
1 file changed +1 -1
scripts/ux-keyboard-f2.spec.js
+1 -1
@@ -62,7 +62,7 @@ test('searchable products filter Persian variants; arrows select highlighted ent
62 expect(await page.evaluate(()=>window.__saves)).toBe(0);
63 await person.click();
64 await person.fill('شرکت شماره 0');
65 - await expect(page.locator('#invoice-contact-id').locator('xpath=..').locator('[role="option"]')).toHaveCount(10);
65 + await expect(page.locator('#invoice-contact-id').locator('xpath=..').locator('[role="option"]')).toHaveCount(11);
66 await person.press('ArrowDown');
67 await person.press('Enter');
68 await expect(page.locator('#invoice-contact-id')).toHaveValue('C1');