This commit is contained in:
2026-08-12 17:45:49 +08:00
parent 5b441626e9
commit 2a889a7d91
25 changed files with 154 additions and 29 deletions
@@ -152,4 +152,11 @@ describe('OutboundDispatchesView', () => {
expect(source).toContain('max-height: 90vh')
expect(source).toContain('overflow-y: auto')
})
it('uses semantic bordered and filled business buttons instead of text links', () => {
const source = readFileSync(resolve(process.cwd(), 'src/modules/outbound-dispatch/pages/OutboundDispatchesView.vue'), 'utf8')
expect(source).toContain('size="small" type="primary" plain')
expect(source).toContain('size="small" type="primary" @click="action')
expect(source).toContain('size="small" type="danger" plain')
expect(source).not.toContain("outbound-dispatch:view')\" link")
})
})