feat(admin): show inbound business relationships

This commit is contained in:
2026-08-30 17:46:45 +08:00
parent ae52141952
commit cee0464e69
3 changed files with 5 additions and 5 deletions
@@ -129,9 +129,10 @@ describe('FinanceCustomerArapView G2 operations', () => {
expect(adjustFinanceFeeSource).not.toHaveBeenCalled()
})
it('keeps the customer dropdown open while its option list is scrolled', async () => {
it('closes the customer dropdown when the surrounding page is scrolled', async () => {
const source = readFileSync(resolve(process.cwd(), 'src/modules/finance/pages/FinanceCustomerArapView.vue'), 'utf8')
expect(source).not.toContain("document.addEventListener('scroll', closeCustomerSelectOnScroll, true)")
expect(source).toContain("document.addEventListener('scroll', closeCustomerSelectOnScroll, true)")
expect(source).toContain('onVisibleChange: onCustomerSelectVisible')
expect(source).not.toContain('input?.blur()')
expect(source).toContain("class: 'finance-customer-select'")
})