优化
This commit is contained in:
@@ -82,6 +82,14 @@ describe('FinanceCustomerAccountsView delivery', () => {
|
||||
expect(page).toContain('white-space: nowrap')
|
||||
})
|
||||
|
||||
it('keeps account detail and term editing readable across the 1920 workspace', () => {
|
||||
expect(page).toContain('width: min(100%, 1920px)')
|
||||
expect(page).toContain('@media (min-width: 1920px)')
|
||||
expect(page).toContain('.finance-account-detail__layout :deep(.detail-page-layout__content)')
|
||||
expect(page).toContain('padding: 0 14px 10px')
|
||||
expect(page).not.toContain('max-width: 520px')
|
||||
})
|
||||
|
||||
it('shows only derived CNY summaries and no wallet actions', () => {
|
||||
for (const marker of ['未收', '待出账', '本期已收', '应付', 'CNY']) expect(page).toContain(marker)
|
||||
for (const forbidden of ['手动充值', '钱包', '外币', '发票', '利润']) expect(page).not.toContain(forbidden)
|
||||
|
||||
Reference in New Issue
Block a user