@lvce-editor/test-with-playwright 2.9.0 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.d.ts +11 -5
- package/package.json +2 -2
package/api.d.ts
CHANGED
|
@@ -85,7 +85,7 @@ declare const rename$1: () => Promise<void>;
|
|
|
85
85
|
declare const cancelEdit: () => Promise<void>;
|
|
86
86
|
declare const acceptEdit: () => Promise<void>;
|
|
87
87
|
declare const updateEditingValue: (value: string) => Promise<void>;
|
|
88
|
-
declare const expandAll: (
|
|
88
|
+
declare const expandAll: () => Promise<void>;
|
|
89
89
|
declare const addWebExtension: (relativePath: string) => Promise<void>;
|
|
90
90
|
declare const addNodeExtension: (relativePath: string) => Promise<void>;
|
|
91
91
|
declare const selectFeature: (name: string) => Promise<void>;
|
|
@@ -102,7 +102,7 @@ declare const createExecutableFrom: (path: string) => Promise<string>;
|
|
|
102
102
|
declare const focusNext$3: () => Promise<void>;
|
|
103
103
|
declare const setValue: (value: string) => Promise<void>;
|
|
104
104
|
declare const setIconTheme: (id: string) => Promise<void>;
|
|
105
|
-
declare const open$1: () =>
|
|
105
|
+
declare const open$1: () => Promise<void>;
|
|
106
106
|
declare const handleInput: (value: string) => Promise<void>;
|
|
107
107
|
declare const handleClick$2: (x: number, y: number) => Promise<void>;
|
|
108
108
|
declare const handleWheel: (deltaMode: number, deltaY: number) => Promise<void>;
|
|
@@ -111,10 +111,16 @@ declare const focusNext$4: () => Promise<void>;
|
|
|
111
111
|
declare const focusPrevious$2: () => Promise<void>;
|
|
112
112
|
declare const focusFirst$2: () => Promise<void>;
|
|
113
113
|
declare const focusLast$2: () => Promise<void>;
|
|
114
|
+
declare const toggleRecordingKeys: () => Promise<void>;
|
|
115
|
+
declare const startRecordingKeys: () => Promise<void>;
|
|
116
|
+
declare const clearInput: () => Promise<void>;
|
|
117
|
+
declare const sortByPrecedence: () => Promise<void>;
|
|
118
|
+
declare const stopRecordingKeys: () => Promise<void>;
|
|
114
119
|
declare const handleContextMenu$1: (button: number, x: number, y: number) => Promise<void>;
|
|
115
120
|
declare const press: (key: string) => Promise<void>;
|
|
116
121
|
declare const openUri: (uri: string) => Promise<void>;
|
|
117
122
|
declare const splitRight: () => Promise<void>;
|
|
123
|
+
declare const openKeyBindings: () => Promise<void>;
|
|
118
124
|
declare const open$2: (id: string) => Promise<void>;
|
|
119
125
|
declare const getNodePath: () => Promise<string>;
|
|
120
126
|
declare const isFirefox: () => boolean;
|
|
@@ -213,13 +219,13 @@ declare namespace IconTheme {
|
|
|
213
219
|
export { setIconTheme };
|
|
214
220
|
}
|
|
215
221
|
declare namespace KeyBindingsEditor {
|
|
216
|
-
export { focusFirst$2 as focusFirst, focusLast$2 as focusLast, focusNext$4 as focusNext, focusPrevious$2 as focusPrevious, handleClick$2 as handleClick, handleContextMenu$1 as handleContextMenu, handleDoubleClick, handleInput, handleWheel, open$1 as open };
|
|
222
|
+
export { clearInput, focusFirst$2 as focusFirst, focusLast$2 as focusLast, focusNext$4 as focusNext, focusPrevious$2 as focusPrevious, handleClick$2 as handleClick, handleContextMenu$1 as handleContextMenu, handleDoubleClick, handleInput, handleWheel, open$1 as open, sortByPrecedence, startRecordingKeys, stopRecordingKeys, toggleRecordingKeys };
|
|
217
223
|
}
|
|
218
224
|
declare namespace KeyBoard {
|
|
219
225
|
export { press };
|
|
220
226
|
}
|
|
221
227
|
declare namespace Main {
|
|
222
|
-
export { openUri, splitRight };
|
|
228
|
+
export { openKeyBindings, openUri, splitRight };
|
|
223
229
|
}
|
|
224
230
|
declare namespace Panel {
|
|
225
231
|
export { open$2 as open };
|
|
@@ -284,7 +290,7 @@ export interface TestApi {
|
|
|
284
290
|
readonly WebView: typeof WebView,
|
|
285
291
|
readonly Workspace: typeof Workspace,
|
|
286
292
|
readonly expect: any
|
|
287
|
-
readonly Locator: (selector: string) => any
|
|
293
|
+
readonly Locator: (selector: string, options?: any) => any
|
|
288
294
|
}
|
|
289
295
|
|
|
290
296
|
export interface Test {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/test-with-playwright",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/main.js",
|
|
6
6
|
"type": "module",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@lvce-editor/json-rpc": "^5.4.0",
|
|
20
20
|
"@lvce-editor/verror": "^1.6.0",
|
|
21
21
|
"minimist": "^1.2.8",
|
|
22
|
-
"@lvce-editor/test-with-playwright-worker": "2.
|
|
22
|
+
"@lvce-editor/test-with-playwright-worker": "2.11.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/jest": "^29.5.12",
|