mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
ignore generated d.ts
This commit is contained in:
parent
96143f924c
commit
5b5427b0c6
3
test/smoke/.gitignore
vendored
3
test/smoke/.gitignore
vendored
|
@ -4,4 +4,5 @@ Thumbs.db
|
|||
node_modules/
|
||||
out/
|
||||
keybindings.*.json
|
||||
test_data/
|
||||
test_data/
|
||||
src/vscode/driver.d.ts
|
30
test/smoke/src/vscode/driver.d.ts
vendored
30
test/smoke/src/vscode/driver.d.ts
vendored
|
@ -1,30 +0,0 @@
|
|||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
export interface IElement {
|
||||
tagName: string;
|
||||
className: string;
|
||||
textContent: string;
|
||||
}
|
||||
|
||||
export interface IDriver {
|
||||
_serviceBrand: any;
|
||||
getWindowIds(): Promise<number[]>;
|
||||
dispatchKeybinding(windowId: number, keybinding: string): Promise<void>;
|
||||
click(windowId: number, selector: string, xoffset: number | undefined, yoffset: number | undefined): Promise<void>;
|
||||
doubleClick(windowId: number, selector: string): Promise<void>;
|
||||
move(windowId: number, selector: string): Promise<void>;
|
||||
setValue(windowId: number, selector: string, text: string): Promise<void>;
|
||||
getTitle(windowId: number): Promise<void>;
|
||||
isActiveElement(windowId: number, selector: string): Promise<void>;
|
||||
getElements(windowId: number, selector: string): Promise<IElement[]>;
|
||||
selectorExecute<P>(selector: string, script: (elements: HTMLElement[], ...args: any[]) => P, ...args: any[]): Promise<P>;
|
||||
}
|
||||
|
||||
export interface IDisposable {
|
||||
dispose(): void;
|
||||
}
|
||||
|
||||
export function connect(outPath: string, handle: string): Promise<{ client: IDisposable, driver: IDriver }>;
|
Loading…
Reference in a new issue