Release/test 合并上生产 #1
@@ -42,11 +42,14 @@ test('贴标货物明细支持手动添加和编辑', () => {
|
||||
assert.match(view, /<el-input v-model="row\.sku" :readonly="props\.service === 'disposal'"/)
|
||||
})
|
||||
|
||||
test('贴标货物明细拆分为箱唛换标和 SKU 换标页签', () => {
|
||||
assert.match(view, /el-tab-pane label="箱唛换标" name="carton"/)
|
||||
assert.match(view, /el-tab-pane label="SKU 换标" name="sku"/)
|
||||
test('贴标货物明细通过单一换标类型选择三种模式', () => {
|
||||
assert.match(view, /<el-radio-group v-model="labelingMode" aria-label="换标类型">/)
|
||||
assert.match(view, /<el-radio-button value="carton">只换箱唛<\/el-radio-button>/)
|
||||
assert.match(view, /<el-radio-button value="sku">只换 SKU 标签<\/el-radio-button>/)
|
||||
assert.match(view, /<el-radio-button value="carton_and_sku">SKU 和箱唛都换<\/el-radio-button>/)
|
||||
assert.doesNotMatch(view, /el-tab-pane label="(?:箱唛换标|SKU 换标)"/)
|
||||
assert.match(view, /interface SkuRelabelRow/)
|
||||
assert.match(view, /来源库存箱 \*/)
|
||||
assert.match(view, /原 SKU \*/)
|
||||
assert.match(view, /我方箱唛 \*/)
|
||||
assert.match(view, /换标数量(件)\*/)
|
||||
assert.match(view, /buildSkuRelabelItems/)
|
||||
|
||||
@@ -59,7 +59,7 @@ test('keeps only implemented navigation groups visible', () => {
|
||||
},
|
||||
{
|
||||
title: '海外仓',
|
||||
children: ['贴标申请', '仓储转运', '货物废弃', '退货换标', '退货库存'],
|
||||
children: ['贴标申请', '仓储转运', '货物废弃', '退货换标', '退货库存', '退货箱号管理'],
|
||||
},
|
||||
{
|
||||
title: '订单管理',
|
||||
@@ -107,6 +107,7 @@ test('flattens visible leaves with unique paths', () => {
|
||||
'/overseas-warehouse/cargo-disposal',
|
||||
'/overseas-warehouse/return-relabel',
|
||||
'/overseas-warehouse/return-inventory',
|
||||
'/overseas-warehouse/return-cartons',
|
||||
'/orders/inbound',
|
||||
'/orders/delivery',
|
||||
'/finance/account',
|
||||
|
||||
Reference in New Issue
Block a user