This commit is contained in:
2026-10-21 15:20:24 +08:00
parent e6c864a2a6
commit a9c0285e22
8 changed files with 24 additions and 40 deletions
@@ -330,7 +330,7 @@ describe('DeliveryOrdersView permissions and commands', () => {
const wrapper = mount(DeliveryOrdersView, { global: { plugins: [ElementPlus], stubs: { ...commonPhase5Stubs, DataTable: table, DeliveryDocumentsDialog: true } } })
await flushPromises()
expect(wrapper.text()).toContain('1/3 已上传')
expect(wrapper.text()).toContain('签收文件(POD签收/快递签收) · 已上传')
expect(wrapper.text()).not.toContain('签收文件(POD签收/快递签收)')
expect(getDeliveryDocuments).not.toHaveBeenCalled()
await wrapper.findAll('button').find(button => button.text().includes('管理资料'))!.trigger('click')
const dialog = wrapper.findComponent({ name: 'DeliveryDocumentsDialog' })