@ember/test-helpers
Advanced tools
Changelog
v2.2.0 (2021-02-13)
@ember/test-waiters
to avoid issues in Embroider builds (@thoov)Changelog
v2.1.1 (2020-12-04)
@ember/test-helpers
promise based helpers never create a run loop for resolving the promise. (@rwjblue)Changelog
v2.1.0 (2020-11-16)
Changelog
Changelog
v2.0.0 (2020-10-20)
teardownRenderingContext
and teardownApplicationContext
(@rwjblue)this.$
from setupRenderingContext
. (@rwjblue)files
array with triggerEvent
. (@rwjblue)moduleFor
, moduleForComponent
, moduleForModel
, moduleForAcceptance
support. (@rwjblue)ember-test-helpers/wait
. (@rwjblue)fillIn
/ typeIn
a readonly form control (@ro0gr)fillIn
/typeIn
a disabled form control (@ro0gr)@ember/destroyable
for teardown. (@rwjblue).forEmber
API (@rwjblue)#ember-testing-container
into #qunit-fixture
element. (@rwjblue)_registerHook
/ _runHooks
functionality allow adding work start/end of test helpers (@scalvert)require
's has
method (@rwjblue)requirejs.entries
to has
. (@rwjblue)@ember/test-helpers/-internals
. (@rwjblue)this.render
and this.clearRender
(@Mikek2252)typeIn
for contenteditable
elements (@jeffhertzler)select()
helper (@Mikek2252)scrollTo
helper (@nlfurniss)value
in FileInput clears the selected files (@nag5000)waitUntil
stops recursing when the callback throws an error (@scalvert)triggerKeyEvent
works properly with IE11 (@lyubarskiy)fillIn
/ typeIn
attempt to enter a value longer than maxlength
(@jaydgruber)click
and doubleClick
to be left button clicks. (@evanfarina)new File(...)
(@luxferresum)waitUntil
and waitFor
(@jenweber)typeIn
documentation example (@craigteegarden)