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

@@ -9,7 +9,6 @@ import { click, fillIn, render, triggerEvent } from '@ember/test-helpers';
import hbs from 'htmlbars-inline-precompile';
import sinon from 'sinon';
import Pretender from 'pretender';
import { setRunOptions } from 'ember-a11y-testing/test-support';
const SELECTORS = {
nameInput: '[data-test-policy-input="name"]',
@@ -55,13 +54,6 @@ module('Integration | Component | policy-form', function (hooks) {
return [204, { 'Content-Type': 'application/json' }];
});
});
setRunOptions({
rules: {
// TODO: fix JSONEditor/CodeMirror
label: { enabled: false },
'label-title-only': { enabled: false },
},
});
});
hooks.afterEach(function () {
this.server.shutdown();