Bug: fixed cases where CodeMirror textarea inputs did not have associated labels (#26263)

* fixes cases where inputs did not have associated labels

* add changelog entry

* update form-field test now that json editor has label

* remove label-related TODOs from other tests

---------

Co-authored-by: Noelle Daley <noelledaley@users.noreply.github.com>
This commit is contained in:
Melanie Sumner
2024-04-05 08:49:42 -05:00
committed by GitHub
parent 5c6b8f7b3e
commit ce639f84b9
18 changed files with 7 additions and 89 deletions

View File

@@ -10,7 +10,6 @@ import { setupMirage } from 'ember-cli-mirage/test-support';
import { render, click, fillIn } from '@ember/test-helpers';
import hbs from 'htmlbars-inline-precompile';
import sinon from 'sinon';
import { setRunOptions } from 'ember-a11y-testing/test-support';
module('Integration | Component | ldap | Page::Role::CreateAndEdit', function (hooks) {
setupRenderingTest(hooks);
@@ -51,12 +50,6 @@ module('Integration | Component | ldap | Page::Role::CreateAndEdit', function (h
{ owner: this.engine }
);
};
setRunOptions({
rules: {
// TODO: Fix JsonEditor component
label: { enabled: false },
},
});
});
test('it should display different form fields based on type', async function (assert) {