test(acceptance): reuse fixed customers and align native fulfillment flows
This commit is contained in:
@@ -260,7 +260,11 @@ export async function withPlatformBookingScope(context, runLoading) {
|
||||
}
|
||||
|
||||
export async function prepare(context) {
|
||||
if (context.options?.fixedCustomerId) throw new Error('混合报关柜需要第二个固定客户,停止订单及装柜造数')
|
||||
if (context.options?.fixedCustomerId && !context.options.fixedSecondaryCustomer) throw new Error('混合报关柜需要第二个固定客户,停止订单及装柜造数')
|
||||
if (context.options?.fixedCustomerId) {
|
||||
const { requireFixedSecondaryCustomer } = await import('./merchant-qualification-fixture.mjs')
|
||||
requireFixedSecondaryCustomer(context.options)
|
||||
}
|
||||
const outerMarker = context.marker
|
||||
const isolatedResourceKeys = ['phase3Loading', 'phase3LoadingCompletedProducer', 'orchestrationFixtures']
|
||||
const isolatedResourceSnapshot = new Map(isolatedResourceKeys.map((name) => [name, {
|
||||
|
||||
Reference in New Issue
Block a user