feat(dashboard): polish risk and digital employee boards
This commit is contained in:
@@ -89,3 +89,16 @@ test('digital employee dashboard renders enterprise dashboard panels with chart
|
||||
assert.match(dailyChartComponent, /name: '业务产出'/)
|
||||
assert.doesNotMatch(dashboardComponent, /hermes/i)
|
||||
})
|
||||
|
||||
test('digital employee dashboard uses filled card layout for charts and rows', () => {
|
||||
assert.match(dashboardComponent, /digital-chart-fill digital-trend-fill/)
|
||||
assert.match(dashboardComponent, /digital-chart-fill digital-donut-fill/)
|
||||
assert.match(dashboardComponent, /digital-chart-fill digital-bar-fill/)
|
||||
assert.match(dashboardComponent, /digital-output-grid digital-card-fill/)
|
||||
assert.match(dashboardComponent, /grid-auto-rows: minmax\(300px, auto\)/)
|
||||
assert.match(dashboardComponent, /\.digital-work-trend-panel \{\s*grid-column: span 7/s)
|
||||
assert.match(dashboardComponent, /\.digital-work-day-panel \{\s*grid-column: span 5/s)
|
||||
assert.match(dashboardComponent, /\.digital-recent-panel \{\s*grid-column: span 12/s)
|
||||
assert.match(dailyChartComponent, /height: 100%/)
|
||||
assert.match(dailyChartComponent, /min-height: 280px/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user