test(admin): unwrap container workbench details
This commit is contained in:
@@ -26,8 +26,10 @@ const matrix = read('../../../docs/国内货柜履约/货柜管理全链验收
|
||||
|
||||
test('container acceptance reads the canonical domestic workbench route', () => {
|
||||
assert.match(containerLoadingAcceptance, /const DOMESTIC_CONTAINERS = `\$\{CONTAINERS\}\/domestic`/)
|
||||
assert.match(containerLoadingAcceptance, /function containerRecord\(value\) \{ return value\?\.container \|\| value \}/)
|
||||
assert.doesNotMatch(containerLoadingAcceptance, /request\('GET', `\$\{CONTAINERS\}\/\$\{containerId\}`\)/)
|
||||
assert.match(phase3LoadingAcceptance, /\/api\/platform\/v1\/containers\/domestic\/\$\{containerBookingId\}/)
|
||||
assert.match(phase3LoadingAcceptance, /containerRecord\(context\.apiSuccess/)
|
||||
})
|
||||
|
||||
test('DRAFT stores all five transport fields and release validates the persisted snapshot', () => {
|
||||
|
||||
Reference in New Issue
Block a user