优化
This commit is contained in:
@@ -119,4 +119,9 @@ describe('TruckAppointmentsView', () => {
|
||||
expect(source).not.toContain("key: 'payableAmount'")
|
||||
expect(source).not.toContain("key: 'receivableAmount'")
|
||||
})
|
||||
it('uses bordered list actions instead of text links', () => {
|
||||
expect(source).toContain('size="small" type="primary" plain')
|
||||
expect(source).toContain('size="small" :aria-label="appointmentActionLabel(\'编辑\'')
|
||||
expect(source).not.toContain("truck-appointment:view')\" link")
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user