File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
tools/public_api_guard/cdk Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ export interface TestElement {
119
119
blur ( ) : Promise < void > ;
120
120
clear ( ) : Promise < void > ;
121
121
click ( ) : Promise < void > ;
122
+ click ( location : 'center' ) : Promise < void > ;
122
123
click ( relativeX : number , relativeY : number ) : Promise < void > ;
123
124
focus ( ) : Promise < void > ;
124
125
getAttribute ( name : string ) : Promise < string | null > ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ export declare class ProtractorElement implements TestElement {
3
3
constructor ( element : ElementFinder ) ;
4
4
blur ( ) : Promise < void > ;
5
5
clear ( ) : Promise < void > ;
6
- click ( ...args : number [ ] ) : Promise < void > ;
6
+ click ( ...args : [ 'center' ] | [ number , number ] ) : Promise < void > ;
7
7
focus ( ) : Promise < void > ;
8
8
getAttribute ( name : string ) : Promise < string | null > ;
9
9
getCssValue ( property : string ) : Promise < string > ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export declare class UnitTestElement implements TestElement {
20
20
constructor ( element : Element , _stabilize : ( ) => Promise < void > ) ;
21
21
blur ( ) : Promise < void > ;
22
22
clear ( ) : Promise < void > ;
23
- click ( ...args : number [ ] ) : Promise < void > ;
23
+ click ( ...args : [ 'center' ] | [ number , number ] ) : Promise < void > ;
24
24
focus ( ) : Promise < void > ;
25
25
getAttribute ( name : string ) : Promise < string | null > ;
26
26
getCssValue ( property : string ) : Promise < string > ;
You can’t perform that action at this time.
0 commit comments