fix(acceptance): preserve calculated dropship fees

This commit is contained in:
2026-09-09 01:09:31 +08:00
parent 0d73e185c0
commit 2abbb3cc8f
5 changed files with 37 additions and 20 deletions
@@ -85,8 +85,9 @@ test('measurement and loading pass destination identity into the LOADED producer
assert.match(entry, /runPhase4ProducerVariant\('DROPSHIP-PRIMARY', 'FBA', 'ONE_CLICK_DROPSHIP', true\)/)
assert.match(entry, /orderFulfillmentType/)
assert.match(entry, /fulfillmentType: fixtureOrder\.fulfillmentType \|\| 'STANDARD'/)
assert.match(entry, /inbound-fees-phase4-/)
assert.match(entry, /createdResources\.inboundMeasurement = this\.createdResources\.orchestrationFixtures\?\.phase3Loading/)
assert.match(entry, /inboundFees\.ensureInitialCalculated\(this,/)
assert.match(entry, /this\.createdResources\.orchestrationFixtures\?\.phase3Loading/)
assert.doesNotMatch(entry, /inbound-fees-phase4-|createdResources\.inboundMeasurement = this\.createdResources\.orchestrationFixtures/)
assert.match(entry, /skuCodes: Array\.isArray\(fixtureOrder\.skuCodes\) \? fixtureOrder\.skuCodes : \[\]/)
assert.match(entry, /skuLines: Array\.isArray\(fixtureOrder\.skuLines\) \? fixtureOrder\.skuLines : \[\]/)
const pda = read('phase4-overseas-pda.mjs')