优化
This commit is contained in:
@@ -61,6 +61,8 @@ describe('overseas warehouse 1920px layout acceptance', () => {
|
||||
expect(page('DispatchDetailView.vue')).toContain('density-fields')
|
||||
expect(page('DeliveryOrderDetailView.vue')).toContain('density-fields')
|
||||
expect(page('InventoryDetailView.vue')).toContain('density-fields')
|
||||
expect(page('InventoryDetailView.vue').match(/class="inventory-table-wrap"/g)).toHaveLength(2)
|
||||
expect(page('InventoryDetailView.vue')).toContain('.inventory-table-wrap { padding:0 var(--admin-space-5) var(--admin-space-4); }')
|
||||
const outbounds = page('OutboundsView.vue')
|
||||
expect(outbounds).toContain('.create-outbound-form :deep(.el-form-item__content > .el-input-number) { width: 100%; }')
|
||||
expect(outbounds).not.toContain('.create-outbound-form :deep(.el-select)')
|
||||
@@ -87,6 +89,8 @@ describe('overseas warehouse 1920px layout acceptance', () => {
|
||||
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.match(/class="detail-table-wrap"/g)).toHaveLength(2)
|
||||
expect(inbound).toContain('.detail-table-wrap { padding:var(--admin-space-3) var(--admin-space-5) var(--admin-space-4); }')
|
||||
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