fix(phase4): harden development acceptance adapters
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user