优化
This commit is contained in:
@@ -78,4 +78,16 @@ describe('overseas warehouse 1920px layout acceptance', () => {
|
||||
expect(lastMileDetail).toContain(':title="isSingleLineBusinessField(field) ? String(field.value) : undefined"')
|
||||
expect(lastMileDetail).toContain('.detail-field-value--business { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }')
|
||||
})
|
||||
|
||||
it('keeps the inbound detail compact and puts pallet facts before appointment metadata', () => {
|
||||
const inbound = page('InboundOrderDetailView.vue')
|
||||
expect(inbound).toContain('grid-template-columns: repeat(5, minmax(0, 1fr))')
|
||||
expect(inbound).toContain('class="section-heading"')
|
||||
expect(inbound).toContain('.detail-section { min-width: 0; padding: 0;')
|
||||
expect(inbound).toContain(':deep(.density-detail-header) { border-bottom: 1px solid var(--cc-border); }')
|
||||
expect(inbound).toContain('.appointment-fields { grid-template-columns:repeat(4,minmax(0,1fr)); }')
|
||||
expect(inbound).toContain('class="compact-section-heading"')
|
||||
expect(inbound.indexOf('class="detail-section pallet-section"')).toBeLessThan(inbound.indexOf('class="detail-section appointment-section"'))
|
||||
expect(inbound).not.toContain("fields: ['状态', '预约状态'")
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user