This commit is contained in:
2026-09-22 17:27:56 +08:00
parent 9731a97cdd
commit a4f335f960
2 changed files with 13 additions and 9 deletions
+4 -2
View File
@@ -79,8 +79,10 @@ test('warehouse transfer restores uploaded photos and exposes honest pallet labe
assert.match(page, /completedPallets = \(result\?\.pallets \|\| \[\]\)/)
assert.match(page, /downloadWarehouseTransferPalletLabel/)
assert.match(page, /pallet\.labelDownloadPath/)
assert.match(page, /pallet\.fbaWarehouseCode \|\| completedDestination \|\| '目的仓待定'/)
assert.match(page, /目的仓待定/)
assert.match(page, /destinationLabel\(pallet, \{ destinationType: completedDestinationType \}\)/)
assert.match(page, /type === 'PRIVATE' \? '私人仓' : '目的仓待定'/)
assert.match(page, /completedDestinationType = result\?\.destinationType \|\| this\.selected\.destinationType/)
assert.doesNotMatch(page, /privateDestinationAddress/)
assert.match(page, /uni\.openDocument\(\{ filePath, fileType: 'pdf', showMenu: true/)
assert.doesNotMatch(page, /批量打印|printAllPallets/)
})