整批提交原子性的方案
This commit is contained in:
@@ -281,6 +281,11 @@ test('requires an enabled platform receiving warehouse in the order form', () =>
|
||||
})
|
||||
|
||||
test('selects platform destinations and uses customer-scoped server address books', () => {
|
||||
assert.match(source, /v-if="form\.fulfillmentType !== 'ONE_CLICK_DROPSHIP'" value="FBA"/)
|
||||
assert.match(source, /<el-radio-button value="OVERSEAS">海外仓<\/el-radio-button>/)
|
||||
assert.match(source, /v-if="form\.fulfillmentType !== 'ONE_CLICK_DROPSHIP'" value="PRIVATE"/)
|
||||
assert.match(source, /@change="changeFulfillmentType"/)
|
||||
assert.match(source, /form\.destinationType = 'OVERSEAS'\s*\n\s*await changeDestinationType\(\)/)
|
||||
assert.match(source, /warehouse\.warehouseType === form\.destinationType/)
|
||||
assert.match(source, /await store\.loadWarehouseType\(type\)/)
|
||||
assert.match(source, /await loadDestinationWarehouses\(form\.destinationType\)/)
|
||||
|
||||
Reference in New Issue
Block a user