This commit is contained in:
2026-08-12 18:52:22 +08:00
parent 2c5f53ec00
commit 1be13c3bf5
15 changed files with 34 additions and 10 deletions
@@ -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')