test: follow complete relabel lifecycle

This commit is contained in:
2026-09-11 01:18:01 +08:00
parent 7dff9b57ed
commit 3209b2e647
4 changed files with 37 additions and 3 deletions
@@ -78,6 +78,14 @@ test('PDA operations reuse received plan pallets and the public location without
assert.doesNotMatch(source, /createLocation|createEmptyPallet/)
})
test('P5 follows warehouse review, customer confirmation and fulfillment completion in order', () => {
assert.match(source, /applicationStatus === 'CUSTOMER_CONFIRM_PENDING'/)
assert.match(source, /\/confirm-completion/)
assert.match(source, /status === 'READY_FOR_OUTBOUND'/)
assert.match(source, /status: 'COMPLETED'/)
assert.match(source, /walletStatus === 'SETTLED'/)
})
test('fixture failure still disables both picker accounts and removes all transient tokens', async () => {
const cleanups = []
const gaps = []