修复订单货柜预约与排车维护界面
This commit is contained in:
@@ -27,6 +27,8 @@ it('renders authenticated photos above their caption and releases thumbnails on
|
||||
expect(api.getDispatchEvidenceContent).toHaveBeenCalledWith('PC/1', 'VEHICLE', '301')
|
||||
const figure = wrapper.get('figure')
|
||||
expect(figure.get('img').attributes('src')).toBe('blob:authenticated')
|
||||
expect(wrapper.get('.dispatch-evidence').attributes('data-tone')).toBeUndefined()
|
||||
expect(figure.get('.evidence-photo-name').text()).toBe('本车证据.png')
|
||||
expect(figure.get('figcaption').text()).toBe('车辆图片')
|
||||
expect(figure.element.lastElementChild?.tagName).toBe('FIGCAPTION')
|
||||
expect(wrapper.find('input[type="file"]').exists()).toBe(false)
|
||||
|
||||
Reference in New Issue
Block a user