This commit is contained in:
2026-08-12 12:19:02 +08:00
parent f9ff9086d5
commit 11e085e30f
24 changed files with 230 additions and 50 deletions
@@ -181,8 +181,8 @@ describe('PermissionsView IAM mode', () => {
const wrapper = mountServerView(allActionPermissions)
await flushPromises()
const moreButton = wrapper.get('[data-row-id="5100010"] [aria-label="5100010的更多操作"]')
expect(moreButton.attributes('title')).toBe('5100010的更多操作')
const moreButton = wrapper.get('[data-row-id="5100010"] [aria-label="当前权限的更多操作"]')
expect(moreButton.attributes('title')).toBe('当前权限的更多操作')
expect(moreButton.attributes('aria-label')).not.toMatch(/undefined|null/)
})