优化
This commit is contained in:
@@ -6,7 +6,8 @@ const page = readFileSync(new URL('../src/pages/relabel/relabel.vue', import.met
|
||||
|
||||
test('PDA 箱唛换标明确展示每箱的新标签和 FBA 目的仓', () => {
|
||||
assert.match(page, /item\.cartonMark[^\n]+item\.fbaCartonMark/)
|
||||
assert.match(page, /FBA 目的仓:\{\{ item\.destinationFbaWarehouseCode/)
|
||||
assert.match(page, /class="destination-summary"[^\n]+FBA 目的仓:[^\n]+v-for="destination in fbaDestinations"/)
|
||||
assert.match(page, /v-if="fbaDestinations.length > 1"[^\n]+item\.destinationFbaWarehouseCode/)
|
||||
assert.match(page, /confirmedItem\?\.destinationFbaWarehouseCode \|\| item\.destinationFbaWarehouseCode/)
|
||||
assert.match(page, /请贴 FBA 箱唛[^`]+FBA 目的仓:\$\{this\.lastCarton\.destinationFbaWarehouseCode/s)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user