fix: 🐛 a11y test failures (#2988)

This commit is contained in:
Dharini authored and GitHub committed 2025-09-04 10:30:44 -07:00
1 parent df8bfc42bb
commit 1d0d62337e
2 files changed
+18

No files matched your search

@@ -486,6 +486,15 @@ module('Acceptance | credential-libraries | create', function (hooks) {
});
test('cannot select vault ldap when feature is disabled', async function (assert) {
setRunOptions({
rules: {
'color-contrast': {
// [ember-a11y-ignore]: axe rule "color-contrast" automatically ignored on 2025-09-04
enabled: false,
},
},
});
await visit(urls.newCredentialLibrary);
assert.false(featuresService.isEnabled('vault-ldap-credential'));
@@ -123,6 +123,15 @@ module('Acceptance | credential-libraries | list', function (hooks) {
});
test('User cannot navigate to vault ldap credential library details when feature is not enabled', async function (assert) {
setRunOptions({
rules: {
'color-contrast': {
// [ember-a11y-ignore]: axe rule "color-contrast" automatically ignored on 2025-09-04
enabled: false,
},
},
});
await visit(urls.credentialLibraries);
assert