fix: refresh dimension config response
This commit is contained in:
@@ -418,7 +418,7 @@ test('container loading permits manual cross-channel allocation and keeps stable
|
||||
assert.match(value, /id\(replacedTask\?\.cabinetNo\) === stableIdentity\.cabinetNo/)
|
||||
assert.match(value, /afterReplacementSnapshot\?\.snapshotToken === beforeReplacementSnapshot\?\.snapshotToken/)
|
||||
assert.match(value, /pdaIdentityStable: true/)
|
||||
assert.match(value, /category=BOOKING&status=ACTIVE/)
|
||||
assert.match(value, /resolveOceanBookingAgent\(context, MODULE, 'MATSON', OPTIONS\)/)
|
||||
assert.match(value, /shippingCompanyId: id\(shippingCarrier\.id\), shippingCompanyName: shippingCarrier\.name, carrierCode: 'MATSON'/)
|
||||
assert.match(value, /bookingAgentId: id\(bookingAgent\.id\), bookingAgentName: bookingAgent\.name/)
|
||||
assert.match(value, /const frozenTransport = Object\.fromEntries\(transportFields\.map/)
|
||||
@@ -502,7 +502,8 @@ test('PDA completion acceptance verifies immutable BATCH and COMPLETE_LOADING au
|
||||
}
|
||||
assert.match(loading, /expectedBatchOperationIds = \[batchKey, skipBatchKey, partialBatchKey, dynamicBatchKey\]/)
|
||||
assert.match(loading, /skipBatchVerified, partialBatchVerified, dynamicIncrementVerified/)
|
||||
assert.match(convergence, /expectedBatchOperationIds\.length === 4/)
|
||||
assert.match(convergence, /expectedBatchCount = fixture\?\.fulfillmentType === 'ONE_CLICK_DROPSHIP' \? 1 : 4/)
|
||||
assert.match(convergence, /expectedBatchOperationIds\.length === expectedBatchCount/)
|
||||
assert.doesNotMatch(convergence, /expectedBatchCount = fixture\?\.dynamicIncrementVerified/)
|
||||
})
|
||||
|
||||
@@ -518,14 +519,14 @@ test('phase3 loading proves mixed-line rollback across task, all items and opera
|
||||
assert.match(loading, /taskItemsSignature\(unchangedAfterInvalid\) === taskItemsSignature\(beforeInvalidTask\)/)
|
||||
assert.match(loading, /operationsSignature\(afterInvalidOperations\) === operationsSignature\(beforeInvalidOperations\)/)
|
||||
assert.doesNotMatch(loading, /tasks\?containerNo=/)
|
||||
assert.equal((loading.match(/tasks\?loadingPlanId=/g) || []).length >= 7, true)
|
||||
assert.equal((loading.match(/tasks\?loadingPlanId=/g) || []).length >= 6, true)
|
||||
})
|
||||
|
||||
test('phase3 loading proves stale inventory zero-write and defers final completion audit', () => {
|
||||
const loading = source('./phase3-loading.mjs')
|
||||
assert.match(loading, /计划详情由服务端返回权威总箱数和剩余箱数/)
|
||||
assert.match(loading, /authoritativeRemaining === authoritativeTotal - assignedPackageCount/)
|
||||
assert.match(loading, /调整箱数超过服务端权威总箱数返回A0400/)
|
||||
assert.match(loading, /调整箱数超过服务端权威总箱数返回A0422/)
|
||||
assert.match(loading, /超权威总箱数失败后计划和明细零写入/)
|
||||
assert.match(loading, /taskItemsSignature\(taskAfterStale\) === taskItemsSignature\(incrementedTask\)/)
|
||||
assert.match(loading, /动态新增计划明细按 inboundDetailId 唯一定位/)
|
||||
@@ -590,7 +591,7 @@ test('phase3 loading fixture paginates A0 candidates and refuses mass location m
|
||||
const orders = source('./orders.mjs')
|
||||
assertOrder(entry, [
|
||||
'disableAvailableLocationsForA0(warehouseId, requiredPalletCount)',
|
||||
'this.context.phase3LoadingRequireSharedOverflow = isolation.forced === true',
|
||||
'this.context.phase3LoadingRequireSharedOverflow = requireSharedOverflow',
|
||||
"executeModule('inbound-measurement-phase3-loading-fixture'",
|
||||
'restoreAvailableLocationsAfterA0(warehouseId, isolation)',
|
||||
])
|
||||
@@ -707,7 +708,7 @@ test('container fixture isolates order idempotency while publishing the run mark
|
||||
test('measurement fixture polls asynchronous completion before exporting loading identity', () => {
|
||||
const measurement = source('./inbound-measurement.mjs')
|
||||
assert.match(measurement, /waitForCompletedMeasurement/)
|
||||
assert.match(measurement, /measurement\?\.processStatus === 'WAIT_SPLIT'/)
|
||||
assert.match(measurement, /expectedStatuses\.includes\(measurement\?\.processStatus\)/)
|
||||
assert.match(measurement, /setTimeout\(resolve, 1_000\)/)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user