fix: guard IAM status rendering
This commit is contained in:
@@ -72,6 +72,9 @@ function mountView(pinia = createPinia()) {
|
||||
}
|
||||
|
||||
describe('RolesView', () => {
|
||||
it('keeps the shared status badge prop defined during table slot initialization', () => {
|
||||
expect(rolesSource).toContain("(row as Role).status || '—'")
|
||||
})
|
||||
it('uses bordered striped tables and semantic role operation buttons', () => {
|
||||
expect(rolesSource).toContain('border stripe')
|
||||
expect(rolesSource).toContain('size="small" plain type="primary"')
|
||||
|
||||
Reference in New Issue
Block a user