fix(acceptance): preserve calculated dropship fees
This commit is contained in:
@@ -163,8 +163,9 @@ test('PDA entry expands the real phase-three producer chain and builds an FBA/OV
|
||||
assert.match(source, /runPhase4ProducerVariant\('SECONDARY', 'FBA', 'STANDARD', false\)/)
|
||||
assert.match(source, /runUntilPickupReady\(this\)/)
|
||||
const variant = source.slice(source.indexOf('async runPhase4ProducerVariant'), source.indexOf('async ensurePhase4PdaProducerMatrix'))
|
||||
assert.ok(variant.indexOf('inbound-fees-phase4-') < variant.indexOf('phase3-loading-phase4-'))
|
||||
assert.ok(variant.indexOf('ensureInitialCalculated') < variant.indexOf('phase3-loading-phase4-'))
|
||||
assert.match(variant, /fulfillmentType === 'ONE_CLICK_DROPSHIP'/)
|
||||
assert.doesNotMatch(variant, /inboundFees\.run\(this\)/)
|
||||
assert.ok(variant.indexOf('phase3-outbound-dispatch-phase4-') < variant.indexOf('phase3-container-documents-phase4-'))
|
||||
assert.ok(variant.indexOf('phase3-container-documents-phase4-') < variant.indexOf('phase3-carrier-schedule-queries-phase4-'))
|
||||
assert.match(source, /\['phase3-container-documents', \['phase3-outbound-dispatch'\]\]/)
|
||||
|
||||
Reference in New Issue
Block a user