style(admin): unify dialog layouts and dense readonly presentation
This commit is contained in:
@@ -64,8 +64,9 @@ describe('Finance formal settlement desktop presentation', () => {
|
||||
|
||||
it('keeps receipt and payment dialogs readable at desktop width', () => {
|
||||
expect(source.match(/width="min\(760px, 94vw\)"/g)).toHaveLength(2)
|
||||
expect(source.match(/class="density-detail-overview partial-summary"/g)).toHaveLength(2)
|
||||
expect(source).toContain('.settlement-operation-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));')
|
||||
expect(source.match(/class="density-dialog-section partial-summary"/g)).toHaveLength(2)
|
||||
expect(source).toContain('density-table density-table--editable settlement-operation-table')
|
||||
expect(source).toContain('.settlement-operation-table td:not([colspan]) { width: 50%; }')
|
||||
expect(source).toContain('<OperationErrorToast :message="receiptValidationError" />')
|
||||
expect(source).toContain('<OperationErrorToast :details="receiptError" />')
|
||||
expect(source).not.toContain('<el-alert v-if="receiptValidationError"')
|
||||
|
||||
Reference in New Issue
Block a user