fix: 🐛 a11y test failures (#2988)
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user