@lvce-editor/test-with-playwright 2.20.0 → 2.22.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 +36 -6
- package/package.json +4 -4
package/api.d.ts
CHANGED
|
@@ -15,6 +15,10 @@ declare const handleClick: (index: number) => Promise<void>;
|
|
|
15
15
|
declare const handleContextMenu: () => Promise<void>;
|
|
16
16
|
declare const selectCurrent: () => Promise<void>;
|
|
17
17
|
declare const getBaseUrl: () => string;
|
|
18
|
+
declare const readNativeFiles: () => Promise<void>;
|
|
19
|
+
declare const writeNativeFiles: (uris: readonly string[]) => Promise<void>;
|
|
20
|
+
declare const enableMemoryClipBoard: () => Promise<void>;
|
|
21
|
+
declare const disableMemoryClipBoard: () => Promise<void>;
|
|
18
22
|
declare const execute: (id: string, ...args: readonly any[]) => Promise<any>;
|
|
19
23
|
declare const selectItem: (text: string) => Promise<void>;
|
|
20
24
|
declare const openIframeInspector: () => Promise<void>;
|
|
@@ -109,6 +113,9 @@ declare const acceptEdit: () => Promise<void>;
|
|
|
109
113
|
declare const updateEditingValue: (value: string) => Promise<void>;
|
|
110
114
|
declare const expandAll: () => Promise<void>;
|
|
111
115
|
declare const handleDragOver: (x: number, y: number) => Promise<void>;
|
|
116
|
+
declare const handleCut: () => Promise<void>;
|
|
117
|
+
declare const handleCopy: () => Promise<void>;
|
|
118
|
+
declare const handlePaste: () => Promise<void>;
|
|
112
119
|
declare const selectIndices: (indices: readonly number[]) => Promise<void>;
|
|
113
120
|
declare const addWebExtension: (relativePath: string) => Promise<void>;
|
|
114
121
|
declare const addNodeExtension: (relativePath: string) => Promise<void>;
|
|
@@ -184,6 +191,14 @@ declare const selectItem$1: (label: string) => Promise<void>;
|
|
|
184
191
|
declare const selectIndex$2: (index: number) => Promise<void>;
|
|
185
192
|
declare const selectCurrentIndex$1: () => Promise<void>;
|
|
186
193
|
declare const executeCommand: (label: string) => Promise<void>;
|
|
194
|
+
declare const handleClickSectionWatch: () => Promise<void>;
|
|
195
|
+
declare const addWatchExpression: (expression: string) => Promise<void>;
|
|
196
|
+
declare const handleWatchValueChange: () => Promise<void>;
|
|
197
|
+
declare const acceptWatchExpressionEdit: () => Promise<void>;
|
|
198
|
+
declare const selectIndex$3: (index: number) => Promise<void>;
|
|
199
|
+
declare const setPauseOnExceptions: (value: number) => Promise<void>;
|
|
200
|
+
declare const handleRename: () => Promise<void>;
|
|
201
|
+
declare const handleSpace: () => Promise<void>;
|
|
187
202
|
declare const setValue$2: (value: string) => Promise<void>;
|
|
188
203
|
declare const setReplaceValue: (value: string) => Promise<void>;
|
|
189
204
|
declare const setExcludeValue: (value: string) => Promise<void>;
|
|
@@ -195,7 +210,7 @@ declare const collapseDetails: () => Promise<void>;
|
|
|
195
210
|
declare const dismissItem: () => Promise<void>;
|
|
196
211
|
declare const focusFirst$6: () => Promise<void>;
|
|
197
212
|
declare const focusIndex$2: (index: number) => Promise<void>;
|
|
198
|
-
declare const selectIndex$
|
|
213
|
+
declare const selectIndex$4: (index: number) => Promise<void>;
|
|
199
214
|
declare const focusNext$8: () => Promise<void>;
|
|
200
215
|
declare const handleWheel$1: (deltaMode: number, deltaY: number) => Promise<void>;
|
|
201
216
|
declare const focusNextPage: () => Promise<void>;
|
|
@@ -210,7 +225,7 @@ declare const toggleReplace: () => Promise<void>;
|
|
|
210
225
|
declare const update: (settings: any) => Promise<void>;
|
|
211
226
|
declare const open$4: (id: string) => Promise<void>;
|
|
212
227
|
declare const hide: () => Promise<void>;
|
|
213
|
-
declare const selectIndex$
|
|
228
|
+
declare const selectIndex$5: (index: number) => Promise<void>;
|
|
214
229
|
declare const acceptInput: () => Promise<void>;
|
|
215
230
|
declare const handleInput$2: (text: string) => Promise<void>;
|
|
216
231
|
declare const handleClickSourceControlButtons: (index: number, name: string) => Promise<void>;
|
|
@@ -232,11 +247,14 @@ declare const handleKeySpace: () => Promise<void>;
|
|
|
232
247
|
declare const handleKeyEscape: () => Promise<void>;
|
|
233
248
|
declare const toggleIndex: (index: number) => Promise<void>;
|
|
234
249
|
declare const toggleMenu: () => Promise<void>;
|
|
250
|
+
declare const setUrl: (newUrl: string) => void;
|
|
251
|
+
declare const resolve: (relativePath: string) => string;
|
|
235
252
|
declare const fromId: (webViewId: string) => Promise<any>;
|
|
236
253
|
declare const setPath: (path: string) => Promise<void>;
|
|
254
|
+
declare const openTmpDir: () => Promise<string>;
|
|
237
255
|
|
|
238
256
|
declare namespace Workspace {
|
|
239
|
-
export { setPath };
|
|
257
|
+
export { openTmpDir, setPath };
|
|
240
258
|
}
|
|
241
259
|
declare namespace About {
|
|
242
260
|
export { focusNext, focusPrevious, handleClickClose, handleClickCopy, handleClickOk, show };
|
|
@@ -247,6 +265,9 @@ declare namespace ActivityBar {
|
|
|
247
265
|
declare namespace BaseUrl {
|
|
248
266
|
export { getBaseUrl };
|
|
249
267
|
}
|
|
268
|
+
declare namespace ClipBoard {
|
|
269
|
+
export { disableMemoryClipBoard, enableMemoryClipBoard, readNativeFiles, writeNativeFiles };
|
|
270
|
+
}
|
|
250
271
|
declare namespace Command {
|
|
251
272
|
export { execute };
|
|
252
273
|
}
|
|
@@ -263,7 +284,7 @@ declare namespace EditorCompletion {
|
|
|
263
284
|
export { selectCurrentIndex, selectIndex };
|
|
264
285
|
}
|
|
265
286
|
declare namespace Explorer {
|
|
266
|
-
export { acceptEdit, cancelEdit, clickCurrent, expandAll, expandRecursively, focus$1 as focus, focusFirst$1 as focusFirst, focusIndex, focusLast$1 as focusLast, focusNext$2 as focusNext, handleArrowLeft, handleBlur, handleClick$1 as handleClick, handleClickAt, handleDragLeave, handleDragOver, handleDrop, handleInputBlur, newFile, newFolder, openContextMenu$1 as openContextMenu, refresh, removeDirent, rename$1 as rename, renameDirent, selectAll$1 as selectAll, selectDown, selectIndices, selectUp, updateEditingValue };
|
|
287
|
+
export { acceptEdit, cancelEdit, clickCurrent, expandAll, expandRecursively, focus$1 as focus, focusFirst$1 as focusFirst, focusIndex, focusLast$1 as focusLast, focusNext$2 as focusNext, handleArrowLeft, handleBlur, handleClick$1 as handleClick, handleClickAt, handleCopy, handleCut, handleDragLeave, handleDragOver, handleDrop, handleInputBlur, handlePaste, newFile, newFolder, openContextMenu$1 as openContextMenu, refresh, removeDirent, rename$1 as rename, renameDirent, selectAll$1 as selectAll, selectDown, selectIndices, selectUp, updateEditingValue };
|
|
267
288
|
}
|
|
268
289
|
declare namespace Extension {
|
|
269
290
|
export { addNodeExtension, addWebExtension };
|
|
@@ -304,8 +325,11 @@ declare namespace Problems {
|
|
|
304
325
|
declare namespace QuickPick {
|
|
305
326
|
export { executeCommand, focusFirst$5 as focusFirst, focusIndex$1 as focusIndex, focusLast$5 as focusLast, focusNext$7 as focusNext, focusPrevious$5 as focusPrevious, handleClickAt$1 as handleClickAt, handleInput$1 as handleInput, open$3 as open, selectCurrentIndex$1 as selectCurrentIndex, selectIndex$2 as selectIndex, selectItem$1 as selectItem, setValue$1 as setValue };
|
|
306
327
|
}
|
|
328
|
+
declare namespace RunAndDebug {
|
|
329
|
+
export { acceptWatchExpressionEdit, addWatchExpression, handleClickSectionWatch, handleRename, handleSpace, handleWatchValueChange, selectIndex$3 as selectIndex, setPauseOnExceptions };
|
|
330
|
+
}
|
|
307
331
|
declare namespace Search {
|
|
308
|
-
export { clearSearchResults, collapseDetails, dismissItem, focusFirst$6 as focusFirst, focusIndex$2 as focusIndex, focusNext$8 as focusNext, focusNextPage, focusPrevious$6 as focusPrevious, focusPreviousPage, handleWheel$1 as handleWheel, openDetails, replaceAll, selectIndex$
|
|
332
|
+
export { clearSearchResults, collapseDetails, dismissItem, focusFirst$6 as focusFirst, focusIndex$2 as focusIndex, focusNext$8 as focusNext, focusNextPage, focusPrevious$6 as focusPrevious, focusPreviousPage, handleWheel$1 as handleWheel, openDetails, replaceAll, selectIndex$4 as selectIndex, setExcludeValue, setIncludeValue, setReplaceValue, setValue$2 as setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleSearchDetails, toggleUseRegularExpression };
|
|
309
333
|
}
|
|
310
334
|
declare namespace Settings {
|
|
311
335
|
export { update };
|
|
@@ -314,7 +338,7 @@ declare namespace SideBar {
|
|
|
314
338
|
export { hide, open$4 as open };
|
|
315
339
|
}
|
|
316
340
|
declare namespace SourceControl {
|
|
317
|
-
export { acceptInput, handleClickSourceControlButtons, handleInput$2 as handleInput, selectIndex$
|
|
341
|
+
export { acceptInput, handleClickSourceControlButtons, handleInput$2 as handleInput, selectIndex$5 as selectIndex };
|
|
318
342
|
}
|
|
319
343
|
declare namespace StatusBar {
|
|
320
344
|
export { update$1 as update };
|
|
@@ -322,6 +346,9 @@ declare namespace StatusBar {
|
|
|
322
346
|
declare namespace TitleBarMenuBar {
|
|
323
347
|
export { closeMenu, focus$2 as focus, focusFirst$7 as focusFirst, focusIndex$3 as focusIndex, focusLast$6 as focusLast, focusNext$9 as focusNext, focusPrevious$7 as focusPrevious, handleKeyArrowDown, handleKeyArrowLeft, handleKeyArrowRight, handleKeyArrowUp, handleKeyEnd, handleKeyEscape, handleKeyHome, handleKeySpace, toggleIndex, toggleMenu };
|
|
324
348
|
}
|
|
349
|
+
declare namespace Url {
|
|
350
|
+
export { resolve, setUrl };
|
|
351
|
+
}
|
|
325
352
|
declare namespace WebView {
|
|
326
353
|
export { fromId };
|
|
327
354
|
}
|
|
@@ -330,6 +357,7 @@ export interface TestApi {
|
|
|
330
357
|
readonly About: typeof About,
|
|
331
358
|
readonly ActivityBar: typeof ActivityBar,
|
|
332
359
|
readonly BaseUrl: typeof BaseUrl,
|
|
360
|
+
readonly ClipBoard: typeof ClipBoard,
|
|
333
361
|
readonly Command: typeof Command,
|
|
334
362
|
readonly ContextMenu: typeof ContextMenu,
|
|
335
363
|
readonly Developer: typeof Developer,
|
|
@@ -349,12 +377,14 @@ export interface TestApi {
|
|
|
349
377
|
readonly Platform: typeof Platform,
|
|
350
378
|
readonly Problems: typeof Problems,
|
|
351
379
|
readonly QuickPick: typeof QuickPick,
|
|
380
|
+
readonly RunAndDebug: typeof RunAndDebug,
|
|
352
381
|
readonly Search: typeof Search,
|
|
353
382
|
readonly Settings: typeof Settings,
|
|
354
383
|
readonly SideBar: typeof SideBar,
|
|
355
384
|
readonly SourceControl: typeof SourceControl,
|
|
356
385
|
readonly StatusBar: typeof StatusBar,
|
|
357
386
|
readonly TitleBarMenuBar: typeof TitleBarMenuBar,
|
|
387
|
+
readonly Url: typeof Url,
|
|
358
388
|
readonly WebView: typeof WebView,
|
|
359
389
|
readonly Workspace: typeof Workspace,
|
|
360
390
|
readonly expect: any
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/test-with-playwright",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.22.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/main.js",
|
|
6
6
|
"type": "module",
|
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
"author": "",
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@lvce-editor/assert": "^1.
|
|
16
|
+
"@lvce-editor/assert": "^1.4.0",
|
|
17
17
|
"@lvce-editor/command": "^1.2.0",
|
|
18
18
|
"@lvce-editor/ipc": "^14.3.0",
|
|
19
19
|
"@lvce-editor/json-rpc": "^6.2.0",
|
|
20
20
|
"@lvce-editor/verror": "^1.7.0",
|
|
21
21
|
"minimist": "^1.2.8",
|
|
22
|
-
"@lvce-editor/test-with-playwright-worker": "2.
|
|
22
|
+
"@lvce-editor/test-with-playwright-worker": "2.22.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/jest": "^30.0.0",
|
|
26
|
-
"jest": "^30.0.
|
|
26
|
+
"jest": "^30.0.3"
|
|
27
27
|
},
|
|
28
28
|
"types": "api.d.ts"
|
|
29
29
|
}
|