File tree Expand file tree Collapse file tree 4 files changed +9
-14
lines changed Expand file tree Collapse file tree 4 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 6
6
* found in the LICENSE file at https://angular.io/license
7
7
*/
8
8
9
- import { ModifierKeys } from '@angular/cdk/testing' ;
10
9
import { browser , ElementFinder , Key } from 'protractor' ;
11
10
import { ElementDimensions } from '../element-dimensions' ;
12
11
import { TestElement , TestKey } from '../test-element' ;
12
+ import { ModifierKeys } from '../event-objects' ;
13
13
14
14
/** Maps the `TestKey` constants to Protractor's `Key` constants. */
15
15
const keyMap = {
Original file line number Diff line number Diff line change 7
7
*/
8
8
9
9
import * as keyCodes from '@angular/cdk/keycodes' ;
10
- import {
11
- clearElement ,
12
- dispatchMouseEvent ,
13
- isTextInput ,
14
- ModifierKeys ,
15
- triggerBlur ,
16
- triggerFocus ,
17
- typeInElement
18
- } from '@angular/cdk/testing' ;
19
10
import { TestElement , TestKey } from '../test-element' ;
20
11
import { ElementDimensions } from '../element-dimensions' ;
12
+ import { triggerBlur , triggerFocus } from '../element-focus' ;
13
+ import { isTextInput , clearElement , typeInElement } from '../type-in-element' ;
14
+ import { dispatchMouseEvent } from '../dispatch-events' ;
15
+ import { ModifierKeys } from '../event-objects' ;
21
16
22
17
/** Maps `TestKey` constants to the `keyCode` and `key` values used by native browser events. */
23
18
const keyMap = {
Original file line number Diff line number Diff line change 1
- import { HarnessLoader } from '@angular/cdk/testing' ;
2
- import { ProtractorHarnessEnvironment } from '@angular/cdk/testing/protractor' ;
3
1
import { browser } from 'protractor' ;
4
2
import { MainComponentHarness } from './harnesses/main-component-harness' ;
5
3
import { SubComponentHarness } from './harnesses/sub-component-harness' ;
4
+ import { HarnessLoader } from '../component-harness' ;
5
+ import { ProtractorHarnessEnvironment } from '../protractor' ;
6
6
7
7
describe ( 'ProtractorHarnessEnvironment' , ( ) => {
8
8
beforeEach ( async ( ) => {
Original file line number Diff line number Diff line change 1
- import { HarnessLoader } from '@angular/cdk/testing' ;
2
- import { TestbedHarnessEnvironment } from '@angular/cdk/testing/testbed' ;
3
1
import { ComponentFixture , TestBed } from '@angular/core/testing' ;
4
2
import { MainComponentHarness } from './harnesses/main-component-harness' ;
5
3
import { SubComponentHarness } from './harnesses/sub-component-harness' ;
6
4
import { TestComponentsModule } from './test-components-module' ;
7
5
import { TestMainComponent } from './test-main-component' ;
6
+ import { HarnessLoader } from '../component-harness' ;
7
+ import { TestbedHarnessEnvironment } from '../testbed/testbed-harness-environment' ;
8
8
9
9
function activeElementText ( ) {
10
10
return document . activeElement && ( document . activeElement as HTMLElement ) . innerText || '' ;
You can’t perform that action at this time.
0 commit comments