Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/cdk/testing/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ Since Protractor does not deal with fixtures, the API in this environment is sim
`HarnessLoader` returned by the `loader()` method should be sufficient for loading all necessary
`ComponentHarness` instances.

Please note that harnesses may not behave _exactly_ the same in all environments. There will always
be some difference between the real browser-generated event sequence when a user clicks or types in
an element, versus the simulated event sequence generated in unit tests. Instead, the CDK makes a
best effort to normalize the behavior and simulate the most important events in the sequence.

#### Creating harnesses with `HarnessLoader`

Instances of this class correspond to a specific DOM element (the "root element" of the loader) and
Expand Down