Skip to content

Commit 6796fc4

Browse files
committed
fix: 🐛 a11y test failures
1 parent df8bfc4 commit 6796fc4

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

ui/admin/tests/acceptance/credential-library/create-test.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,15 @@ module('Acceptance | credential-libraries | create', function (hooks) {
486486
});
487487

488488
test('cannot select vault ldap when feature is disabled', async function (assert) {
489+
setRunOptions({
490+
rules: {
491+
'color-contrast': {
492+
// [ember-a11y-ignore]: axe rule "color-contrast" automatically ignored on 2025-09-04
493+
enabled: false,
494+
},
495+
},
496+
});
497+
489498
await visit(urls.newCredentialLibrary);
490499

491500
assert.false(featuresService.isEnabled('vault-ldap-credential'));

ui/admin/tests/acceptance/credential-library/list-test.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,15 @@ module('Acceptance | credential-libraries | list', function (hooks) {
123123
});
124124

125125
test('User cannot navigate to vault ldap credential library details when feature is not enabled', async function (assert) {
126+
setRunOptions({
127+
rules: {
128+
'color-contrast': {
129+
// [ember-a11y-ignore]: axe rule "color-contrast" automatically ignored on 2025-09-04
130+
enabled: false,
131+
},
132+
},
133+
});
134+
126135
await visit(urls.credentialLibraries);
127136

128137
assert

0 commit comments

Comments
 (0)