fix(admin): unify inbound fee refresh controls
This commit is contained in:
@@ -182,6 +182,7 @@ describe('InboundFeeDetailManager', () => {
|
||||
})
|
||||
|
||||
it('spins only the refresh icon while fee rows are loading', () => {
|
||||
expect(source).toContain('class="fee-refresh-button" circle aria-label="刷新费用明细"')
|
||||
expect(source).toContain(':aria-busy="loading" :disabled="loading"')
|
||||
expect(source).toContain(`<RefreshCw :size="16" :class="{ 'is-spinning': loading }" />`)
|
||||
expect(source).not.toMatch(/aria-label="刷新费用明细"[^>]*:loading=/)
|
||||
|
||||
Reference in New Issue
Block a user