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

@@ -7,18 +7,11 @@ import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { click, fillIn, render, triggerEvent } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
import { setRunOptions } from 'ember-a11y-testing/test-support';
module('Integration | Component | transform-advanced-templating', function (hooks) {
setupRenderingTest(hooks);
test('it should render', async function (assert) {
setRunOptions({
rules: {
// TODO: fix JSONEditor/CodeMirror
label: { enabled: false },
},
});
this.model = {
pattern: '(\\d{3})-(\\d{2})-(?<last>\\d{5})',
encodeFormat: null,