优化
This commit is contained in:
@@ -460,6 +460,8 @@ describe('WarehousesView', () => {
|
||||
})
|
||||
|
||||
it('renders FBA import precheck totals and row-level errors without committing by default', async () => {
|
||||
expect(warehousesSource).toContain('<el-table v-if="importResult.errors.length" :data="importResult.errors" max-height="260" size="small">')
|
||||
expect(warehousesSource).not.toContain('importResult.errors" max-height="260" size="small" border stripe')
|
||||
const wrapper = await mountView()
|
||||
|
||||
await wrapper.findAll('button').find((button) => button.text().trim() === '导入仓库')?.trigger('click')
|
||||
|
||||
Reference in New Issue
Block a user