@@ -28,14 +28,14 @@ The following sections will illustrate these benefits in more detail.
2828## Which kinds of tests can use harnesses?
2929
3030The Angular CDK's component harnesses are designed to work in multiple different test environments.
31- Support currently includes Angular's Testbed environment in Karma unit tests and Protractor
31+ Support currently includes Angular's Testbed environment in Karma unit tests and Selenium WebDriver
3232end-to-end (e2e) tests. You can also support additional environments by creating custom extensions
3333of the CDK's ` HarnessEnvironment ` and ` TestElement ` classes.
3434
3535## Getting started
3636
3737The foundation for all test harnesses lives in ` @angular/cdk/testing ` . Start by importing either
38- ` TestbedHarnessEnvironment ` or ` ProtractorHarnessEnvironment ` based on whether you're writing a
38+ ` TestbedHarnessEnvironment ` or ` SeleniumWebDriverHarnessEnvironment ` based on whether you're writing a
3939unit test or an e2e test. From the ` HarnessEnvironment ` , you can get a ` HarnessLoader ` instance,
4040which you will use to load Angular Material component harnesses. For example, if we're writing unit
4141tests for a ` UserProfile ` component, the code might look like this:
@@ -64,8 +64,8 @@ different paths.
6464- ` @angular / cdk / testing ` contains symbols that are shared regardless of the environment your tests
6565 are in.
6666- ` @angular / cdk / testing / testbed ` contains symbols that are used only in Karma tests.
67- - ` @angular / cdk / testing / protractor ` (not shown above) contains symbols that are used only in
68- Protractor tests.
67+ - ` @angular / cdk / testing / selenium - webdriver ` (not shown above) contains symbols that are used only in
68+ Selenium WebDriver tests.
6969
7070## Loading an Angular Material harness
7171
0 commit comments