Releases: testing-library/angular-testing-library
Releases · testing-library/angular-testing-library
v10.0.0
10.0.0 (2020-06-28)
Features
BREAKING CHANGES
- fire events (e.g.
click
, input
, change
) are removed from the render result, import fireEvent
directly from @testing-library/angular
(as an example take a look at http://github.com/testing-library/angular-testing-library/blob/master/apps/example-app/app/examples/03-forms.spec.ts#L2)
waitFor
and waitForElementToBeRemoved
are removed from the render result, import them directly from @testing-library/angular
- custom user events are removed, use the
@testing-library/user-event
package (testing-library.com/docs/ecosystem-user-event)
selectOptions
now selects the option based on its value, not via the text of the select option
v9.5.0
9.5.0 (2020-06-25)
Features
v9.4.0
9.4.0 (2020-06-20)
Features
- support component's ngOnChanges lifecycle hook (#110) (de77901), closes #56
v9.3.1
9.3.1 (2020-06-06)
Bug Fixes
- fireEvent runs a change detection cycle (#104) (aa5f891)
v9.3.0
9.3.0 (2020-06-01)
Bug Fixes
- use types from dom testing library (7f39bf4)
Features
- use a11y queries in selectOptions (4f0878f)
v9.2.2
9.2.2 (2020-04-18)
Bug Fixes
- patch waitFor functions to trigger a change detection cycle (#96) (89319df), closes #95
v9.2.1
9.2.1 (2020-04-17)
Bug Fixes
v9.2.0
9.2.0 (2020-04-11)
Features
v9.1.1
9.1.1 (2020-04-09)
Bug Fixes
- compile as ES2015 to supprt karma tests (0438b77), closes #87
- ES2015 for karma tests (8e17700)
v9.1.0
9.1.0 (2020-04-02)
Bug Fixes
- correct the debug typing (13dd9ff)
findBy
queries runs the detection cycle before checking (289c08b)
Features
- expose
fireEvent
(with detectChanges
) (76adbb2)