Skip to content

Commit 40b115f

Browse files
committed
[UI] Fixed failing test cases from FormField boolean updates (#34798)
1 parent 6080a65 commit 40b115f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/tests/acceptance/secrets/backend/ssh/configuration-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ module('Acceptance | ssh | configuration', function (hooks) {
105105
await click(GENERAL.inputByAttr('generateSigningKey'));
106106
await click(GENERAL.submitButton);
107107
assert
108-
.dom(GENERAL.inlineError)
108+
.dom(GENERAL.validationErrorByAttr('generateSigningKey'))
109109
.hasText('Provide a Public and Private key or set "Generate Signing Key" to true.');
110110
// visit the details page and confirm the public key is not shown
111111
await visit(`/vault/secrets/${path}/configuration`);

ui/tests/acceptance/secrets/backend/totp/key-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module('Acceptance | totp key backend', function (hooks) {
2121
await fillIn(GENERAL.inputByAttr('issuer'), issuer);
2222
await fillIn(GENERAL.inputByAttr('accountName'), accountName);
2323
if (!exported) {
24-
await click(GENERAL.ttl.toggle('toggle-exported'));
24+
await click(GENERAL.inputByAttr('exported'));
2525
}
2626
if (qrSize !== 200) {
2727
await click(GENERAL.button('Provider Options'));

0 commit comments

Comments
 (0)