@lvce-editor/test-with-playwright 2.21.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 +13 -3
- package/package.json +3 -3
package/api.d.ts
CHANGED
|
@@ -114,6 +114,7 @@ declare const updateEditingValue: (value: string) => Promise<void>;
|
|
|
114
114
|
declare const expandAll: () => Promise<void>;
|
|
115
115
|
declare const handleDragOver: (x: number, y: number) => Promise<void>;
|
|
116
116
|
declare const handleCut: () => Promise<void>;
|
|
117
|
+
declare const handleCopy: () => Promise<void>;
|
|
117
118
|
declare const handlePaste: () => Promise<void>;
|
|
118
119
|
declare const selectIndices: (indices: readonly number[]) => Promise<void>;
|
|
119
120
|
declare const addWebExtension: (relativePath: string) => Promise<void>;
|
|
@@ -195,7 +196,9 @@ declare const addWatchExpression: (expression: string) => Promise<void>;
|
|
|
195
196
|
declare const handleWatchValueChange: () => Promise<void>;
|
|
196
197
|
declare const acceptWatchExpressionEdit: () => Promise<void>;
|
|
197
198
|
declare const selectIndex$3: (index: number) => Promise<void>;
|
|
199
|
+
declare const setPauseOnExceptions: (value: number) => Promise<void>;
|
|
198
200
|
declare const handleRename: () => Promise<void>;
|
|
201
|
+
declare const handleSpace: () => Promise<void>;
|
|
199
202
|
declare const setValue$2: (value: string) => Promise<void>;
|
|
200
203
|
declare const setReplaceValue: (value: string) => Promise<void>;
|
|
201
204
|
declare const setExcludeValue: (value: string) => Promise<void>;
|
|
@@ -244,11 +247,14 @@ declare const handleKeySpace: () => Promise<void>;
|
|
|
244
247
|
declare const handleKeyEscape: () => Promise<void>;
|
|
245
248
|
declare const toggleIndex: (index: number) => Promise<void>;
|
|
246
249
|
declare const toggleMenu: () => Promise<void>;
|
|
250
|
+
declare const setUrl: (newUrl: string) => void;
|
|
251
|
+
declare const resolve: (relativePath: string) => string;
|
|
247
252
|
declare const fromId: (webViewId: string) => Promise<any>;
|
|
248
253
|
declare const setPath: (path: string) => Promise<void>;
|
|
254
|
+
declare const openTmpDir: () => Promise<string>;
|
|
249
255
|
|
|
250
256
|
declare namespace Workspace {
|
|
251
|
-
export { setPath };
|
|
257
|
+
export { openTmpDir, setPath };
|
|
252
258
|
}
|
|
253
259
|
declare namespace About {
|
|
254
260
|
export { focusNext, focusPrevious, handleClickClose, handleClickCopy, handleClickOk, show };
|
|
@@ -278,7 +284,7 @@ declare namespace EditorCompletion {
|
|
|
278
284
|
export { selectCurrentIndex, selectIndex };
|
|
279
285
|
}
|
|
280
286
|
declare namespace Explorer {
|
|
281
|
-
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, 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 };
|
|
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 };
|
|
282
288
|
}
|
|
283
289
|
declare namespace Extension {
|
|
284
290
|
export { addNodeExtension, addWebExtension };
|
|
@@ -320,7 +326,7 @@ declare namespace QuickPick {
|
|
|
320
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 };
|
|
321
327
|
}
|
|
322
328
|
declare namespace RunAndDebug {
|
|
323
|
-
export { acceptWatchExpressionEdit, addWatchExpression, handleClickSectionWatch, handleRename, handleWatchValueChange, selectIndex$3 as selectIndex };
|
|
329
|
+
export { acceptWatchExpressionEdit, addWatchExpression, handleClickSectionWatch, handleRename, handleSpace, handleWatchValueChange, selectIndex$3 as selectIndex, setPauseOnExceptions };
|
|
324
330
|
}
|
|
325
331
|
declare namespace Search {
|
|
326
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 };
|
|
@@ -340,6 +346,9 @@ declare namespace StatusBar {
|
|
|
340
346
|
declare namespace TitleBarMenuBar {
|
|
341
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 };
|
|
342
348
|
}
|
|
349
|
+
declare namespace Url {
|
|
350
|
+
export { resolve, setUrl };
|
|
351
|
+
}
|
|
343
352
|
declare namespace WebView {
|
|
344
353
|
export { fromId };
|
|
345
354
|
}
|
|
@@ -375,6 +384,7 @@ export interface TestApi {
|
|
|
375
384
|
readonly SourceControl: typeof SourceControl,
|
|
376
385
|
readonly StatusBar: typeof StatusBar,
|
|
377
386
|
readonly TitleBarMenuBar: typeof TitleBarMenuBar,
|
|
387
|
+
readonly Url: typeof Url,
|
|
378
388
|
readonly WebView: typeof WebView,
|
|
379
389
|
readonly Workspace: typeof Workspace,
|
|
380
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,13 +13,13 @@
|
|
|
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",
|