fix(phase4): harden development acceptance adapters

This commit is contained in:
2026-08-24 16:57:25 +08:00
parent 964480a617
commit 37ec787bc1
13 changed files with 83 additions and 44 deletions
@@ -36,7 +36,7 @@ describe('PalletsView', () => {
await flushPromises()
wrapper.findComponent(QueryToolbar).vm.$emit('search', { warehouseId: '200', code: '', type: '', status: '' })
await flushPromises()
await wrapper.findAll('button').find((button) => button.text().includes('编辑'))!.trigger('click')
await wrapper.findAll('button.el-button--small').filter((button) => button.text().includes('编辑')).at(-1)!.trigger('click')
await flushPromises()
const dialog = wrapper.findComponent(AppDialog)
dialog.vm.$emit('confirm')