diff --git a/packages/@ember/-internals/glimmer/tests/integration/input-test.js b/packages/@ember/-internals/glimmer/tests/integration/input-test.js index 261683d0bfd..24e8392706e 100644 --- a/packages/@ember/-internals/glimmer/tests/integration/input-test.js +++ b/packages/@ember/-internals/glimmer/tests/integration/input-test.js @@ -201,6 +201,34 @@ moduleFor( this.assertValue('hola', 'Value is used'); } + ['@test GH18211 input checked attribute, without a value, works with the action helper']() { + this.render(``, { + actions: { someAction() {} }, + }); + this.assertPropertyHasValue('checked', true); + } + + ['@test GH18211 input checked attribute, with a value, works with the action helper']() { + this.render(``, { + actions: { someAction() {} }, + }); + this.assertPropertyHasValue('checked', true); + } + + ['@test GH18211 input checked attribute, without a value, works with attributes with values']() { + this.render(``, { + actions: { someAction() {} }, + }); + this.assertPropertyHasValue('checked', true); + } + + ['@test GH18211 input checked attribute, without a value, works with event attributes']() { + this.render(``, { + actions: { someAction() {} }, + }); + this.assertPropertyHasValue('checked', true); + } + // private helpers and assertions setDOMValue(value) { this.inputElement().value = value;