@lvce-editor/test-with-playwright 2.7.0 → 2.9.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 +26 -15
- package/package.json +2 -2
package/api.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
|
-
declare const show: () => Promise<
|
|
4
|
-
declare const handleClickOk: () => Promise<
|
|
5
|
-
declare const handleClickClose: () => Promise<
|
|
6
|
-
declare const handleClickCopy: () => Promise<
|
|
7
|
-
declare const focusNext: () => Promise<
|
|
8
|
-
declare const focusPrevious: () => Promise<
|
|
3
|
+
declare const show: () => Promise<void>;
|
|
4
|
+
declare const handleClickOk: () => Promise<void>;
|
|
5
|
+
declare const handleClickClose: () => Promise<void>;
|
|
6
|
+
declare const handleClickCopy: () => Promise<void>;
|
|
7
|
+
declare const focusNext: () => Promise<void>;
|
|
8
|
+
declare const focusPrevious: () => Promise<void>;
|
|
9
9
|
declare const focus: () => Promise<void>;
|
|
10
10
|
declare const focusFirst: () => Promise<void>;
|
|
11
11
|
declare const focusLast: () => Promise<void>;
|
|
@@ -88,6 +88,9 @@ declare const updateEditingValue: (value: string) => Promise<void>;
|
|
|
88
88
|
declare const expandAll: (value: string) => Promise<void>;
|
|
89
89
|
declare const addWebExtension: (relativePath: string) => Promise<void>;
|
|
90
90
|
declare const addNodeExtension: (relativePath: string) => Promise<void>;
|
|
91
|
+
declare const selectFeature: (name: string) => Promise<void>;
|
|
92
|
+
declare const selectTab: (name: string) => Promise<void>;
|
|
93
|
+
declare const open: (extensionId: string) => Promise<void>;
|
|
91
94
|
declare const writeFile: (path: string, content: string) => Promise<void>;
|
|
92
95
|
declare const mkdir: (path: string) => Promise<void>;
|
|
93
96
|
declare const getTmpDir: ({ scheme }?: {
|
|
@@ -99,7 +102,7 @@ declare const createExecutableFrom: (path: string) => Promise<string>;
|
|
|
99
102
|
declare const focusNext$3: () => Promise<void>;
|
|
100
103
|
declare const setValue: (value: string) => Promise<void>;
|
|
101
104
|
declare const setIconTheme: (id: string) => Promise<void>;
|
|
102
|
-
declare const open: () => never;
|
|
105
|
+
declare const open$1: () => never;
|
|
103
106
|
declare const handleInput: (value: string) => Promise<void>;
|
|
104
107
|
declare const handleClick$2: (x: number, y: number) => Promise<void>;
|
|
105
108
|
declare const handleWheel: (deltaMode: number, deltaY: number) => Promise<void>;
|
|
@@ -112,11 +115,11 @@ declare const handleContextMenu$1: (button: number, x: number, y: number) => Pro
|
|
|
112
115
|
declare const press: (key: string) => Promise<void>;
|
|
113
116
|
declare const openUri: (uri: string) => Promise<void>;
|
|
114
117
|
declare const splitRight: () => Promise<void>;
|
|
115
|
-
declare const open$
|
|
118
|
+
declare const open$2: (id: string) => Promise<void>;
|
|
116
119
|
declare const getNodePath: () => Promise<string>;
|
|
117
120
|
declare const isFirefox: () => boolean;
|
|
118
121
|
declare const show$1: () => Promise<void>;
|
|
119
|
-
declare const open$
|
|
122
|
+
declare const open$3: () => Promise<void>;
|
|
120
123
|
declare const setValue$1: (value: string) => Promise<void>;
|
|
121
124
|
declare const focusNext$5: () => Promise<void>;
|
|
122
125
|
declare const focusIndex$1: (index: number) => Promise<void>;
|
|
@@ -145,7 +148,7 @@ declare const togglePreserveCase: () => Promise<void>;
|
|
|
145
148
|
declare const toggleUseRegularExpression: () => Promise<void>;
|
|
146
149
|
declare const toggleReplace: () => Promise<void>;
|
|
147
150
|
declare const update: (settings: any) => Promise<void>;
|
|
148
|
-
declare const open$
|
|
151
|
+
declare const open$4: (id: string) => Promise<void>;
|
|
149
152
|
declare const hide: () => Promise<void>;
|
|
150
153
|
declare const acceptInput: () => Promise<void>;
|
|
151
154
|
declare const handleInput$1: (text: string) => Promise<void>;
|
|
@@ -197,6 +200,9 @@ declare namespace Explorer {
|
|
|
197
200
|
declare namespace Extension {
|
|
198
201
|
export { addNodeExtension, addWebExtension };
|
|
199
202
|
}
|
|
203
|
+
declare namespace ExtensionDetail {
|
|
204
|
+
export { open, selectFeature, selectTab };
|
|
205
|
+
}
|
|
200
206
|
declare namespace FileSystem {
|
|
201
207
|
export { chmod, createExecutable, createExecutableFrom, getTmpDir, mkdir, writeFile };
|
|
202
208
|
}
|
|
@@ -207,7 +213,7 @@ declare namespace IconTheme {
|
|
|
207
213
|
export { setIconTheme };
|
|
208
214
|
}
|
|
209
215
|
declare namespace KeyBindingsEditor {
|
|
210
|
-
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 };
|
|
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 };
|
|
211
217
|
}
|
|
212
218
|
declare namespace KeyBoard {
|
|
213
219
|
export { press };
|
|
@@ -216,7 +222,7 @@ declare namespace Main {
|
|
|
216
222
|
export { openUri, splitRight };
|
|
217
223
|
}
|
|
218
224
|
declare namespace Panel {
|
|
219
|
-
export { open$
|
|
225
|
+
export { open$2 as open };
|
|
220
226
|
}
|
|
221
227
|
declare namespace Platform {
|
|
222
228
|
export { getNodePath, isFirefox };
|
|
@@ -225,7 +231,7 @@ declare namespace Problems {
|
|
|
225
231
|
export { show$1 as show };
|
|
226
232
|
}
|
|
227
233
|
declare namespace QuickPick {
|
|
228
|
-
export { executeCommand, focusIndex$1 as focusIndex, focusNext$5 as focusNext, focusPrevious$3 as focusPrevious, open$
|
|
234
|
+
export { executeCommand, focusIndex$1 as focusIndex, focusNext$5 as focusNext, focusPrevious$3 as focusPrevious, open$3 as open, selectItem$1 as selectItem, setValue$1 as setValue };
|
|
229
235
|
}
|
|
230
236
|
declare namespace Search {
|
|
231
237
|
export { clearSearchResults, dismissItem, focusFirst$3 as focusFirst, focusIndex$2 as focusIndex, focusNext$6 as focusNext, focusNextPage, focusPrevious$4 as focusPrevious, focusPreviousPage, handleWheel$1 as handleWheel, replaceAll, selectIndex, setExcludeValue, setIncludeValue, setReplaceValue, setValue$2 as setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleSearchDetails, toggleUseRegularExpression };
|
|
@@ -234,7 +240,7 @@ declare namespace Settings {
|
|
|
234
240
|
export { update };
|
|
235
241
|
}
|
|
236
242
|
declare namespace SideBar {
|
|
237
|
-
export { hide, open$
|
|
243
|
+
export { hide, open$4 as open };
|
|
238
244
|
}
|
|
239
245
|
declare namespace SourceControl {
|
|
240
246
|
export { acceptInput, handleInput$1 as handleInput };
|
|
@@ -249,7 +255,7 @@ declare namespace WebView {
|
|
|
249
255
|
export { fromId };
|
|
250
256
|
}
|
|
251
257
|
|
|
252
|
-
export interface
|
|
258
|
+
export interface TestApi {
|
|
253
259
|
readonly About: typeof About,
|
|
254
260
|
readonly ActivityBar: typeof ActivityBar,
|
|
255
261
|
readonly BaseUrl: typeof BaseUrl,
|
|
@@ -258,6 +264,7 @@ export interface Test {
|
|
|
258
264
|
readonly Editor: typeof Editor,
|
|
259
265
|
readonly Explorer: typeof Explorer,
|
|
260
266
|
readonly Extension: typeof Extension,
|
|
267
|
+
readonly ExtensionDetail: typeof ExtensionDetail,
|
|
261
268
|
readonly FileSystem: typeof FileSystem,
|
|
262
269
|
readonly FindWidget: typeof FindWidget,
|
|
263
270
|
readonly IconTheme: typeof IconTheme,
|
|
@@ -280,3 +287,7 @@ export interface Test {
|
|
|
280
287
|
readonly Locator: (selector: string) => any
|
|
281
288
|
}
|
|
282
289
|
|
|
290
|
+
export interface Test {
|
|
291
|
+
(api: TestApi): Promise<void>
|
|
292
|
+
}
|
|
293
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/test-with-playwright",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.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.9.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/jest": "^29.5.12",
|