chore: 🤖 Migrate form.inpu to use Hds::TextInput::Field` (#2145)
* chore: 🤖 Migrate `form.inpu` to use Hds::TextInput::Field` Migrate `form/group`, `form/host-static`, `form/host-catalog/aws` and `form/host-catalog/azure` forms to use `Hds::TextInputField instead of `form.input` ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12466 * refactor: 💡 use `data-test` attributes for testing use `data-test` attributes for testing error messaging. ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12466 * refactor: 💡 field argument cleanup field argument cleanup ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12466 * refactor: 💡 switch `disabled` argument to `readonly` switch `disabled` argument to `readonly` ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12466
This commit is contained in:
1 parent
3fc865d226
commit
26a77edbc7
11 files changed
+198
-160
No files matched your search
@@ -115,7 +115,7 @@ module('Acceptance | groups | create', function (hooks) {
|
||||
'Displays primary error message.',
|
||||
);
|
||||
assert.strictEqual(
|
||||
find('.rose-form-error-message').textContent.trim(),
|
||||
find('[data-test-error-message-name]').textContent.trim(),
|
||||
'Name is required.',
|
||||
'Displays field-level errors.',
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user