@lvce-editor/test-with-playwright 2.19.0 → 2.21.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.
Files changed (2) hide show
  1. package/api.d.ts +25 -5
  2. package/package.json +5 -5
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,8 @@ 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 handlePaste: () => Promise<void>;
112
118
  declare const selectIndices: (indices: readonly number[]) => Promise<void>;
113
119
  declare const addWebExtension: (relativePath: string) => Promise<void>;
114
120
  declare const addNodeExtension: (relativePath: string) => Promise<void>;
@@ -184,6 +190,12 @@ declare const selectItem$1: (label: string) => Promise<void>;
184
190
  declare const selectIndex$2: (index: number) => Promise<void>;
185
191
  declare const selectCurrentIndex$1: () => Promise<void>;
186
192
  declare const executeCommand: (label: string) => Promise<void>;
193
+ declare const handleClickSectionWatch: () => Promise<void>;
194
+ declare const addWatchExpression: (expression: string) => Promise<void>;
195
+ declare const handleWatchValueChange: () => Promise<void>;
196
+ declare const acceptWatchExpressionEdit: () => Promise<void>;
197
+ declare const selectIndex$3: (index: number) => Promise<void>;
198
+ declare const handleRename: () => Promise<void>;
187
199
  declare const setValue$2: (value: string) => Promise<void>;
188
200
  declare const setReplaceValue: (value: string) => Promise<void>;
189
201
  declare const setExcludeValue: (value: string) => Promise<void>;
@@ -195,7 +207,7 @@ declare const collapseDetails: () => Promise<void>;
195
207
  declare const dismissItem: () => Promise<void>;
196
208
  declare const focusFirst$6: () => Promise<void>;
197
209
  declare const focusIndex$2: (index: number) => Promise<void>;
198
- declare const selectIndex$3: (index: number) => Promise<void>;
210
+ declare const selectIndex$4: (index: number) => Promise<void>;
199
211
  declare const focusNext$8: () => Promise<void>;
200
212
  declare const handleWheel$1: (deltaMode: number, deltaY: number) => Promise<void>;
201
213
  declare const focusNextPage: () => Promise<void>;
@@ -210,7 +222,7 @@ declare const toggleReplace: () => Promise<void>;
210
222
  declare const update: (settings: any) => Promise<void>;
211
223
  declare const open$4: (id: string) => Promise<void>;
212
224
  declare const hide: () => Promise<void>;
213
- declare const selectIndex$4: (index: number) => Promise<void>;
225
+ declare const selectIndex$5: (index: number) => Promise<void>;
214
226
  declare const acceptInput: () => Promise<void>;
215
227
  declare const handleInput$2: (text: string) => Promise<void>;
216
228
  declare const handleClickSourceControlButtons: (index: number, name: string) => Promise<void>;
@@ -247,6 +259,9 @@ declare namespace ActivityBar {
247
259
  declare namespace BaseUrl {
248
260
  export { getBaseUrl };
249
261
  }
262
+ declare namespace ClipBoard {
263
+ export { disableMemoryClipBoard, enableMemoryClipBoard, readNativeFiles, writeNativeFiles };
264
+ }
250
265
  declare namespace Command {
251
266
  export { execute };
252
267
  }
@@ -263,7 +278,7 @@ declare namespace EditorCompletion {
263
278
  export { selectCurrentIndex, selectIndex };
264
279
  }
265
280
  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 };
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 };
267
282
  }
268
283
  declare namespace Extension {
269
284
  export { addNodeExtension, addWebExtension };
@@ -304,8 +319,11 @@ declare namespace Problems {
304
319
  declare namespace QuickPick {
305
320
  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
321
  }
322
+ declare namespace RunAndDebug {
323
+ export { acceptWatchExpressionEdit, addWatchExpression, handleClickSectionWatch, handleRename, handleWatchValueChange, selectIndex$3 as selectIndex };
324
+ }
307
325
  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$3 as selectIndex, setExcludeValue, setIncludeValue, setReplaceValue, setValue$2 as setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleSearchDetails, toggleUseRegularExpression };
326
+ 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
327
  }
310
328
  declare namespace Settings {
311
329
  export { update };
@@ -314,7 +332,7 @@ declare namespace SideBar {
314
332
  export { hide, open$4 as open };
315
333
  }
316
334
  declare namespace SourceControl {
317
- export { acceptInput, handleClickSourceControlButtons, handleInput$2 as handleInput, selectIndex$4 as selectIndex };
335
+ export { acceptInput, handleClickSourceControlButtons, handleInput$2 as handleInput, selectIndex$5 as selectIndex };
318
336
  }
319
337
  declare namespace StatusBar {
320
338
  export { update$1 as update };
@@ -330,6 +348,7 @@ export interface TestApi {
330
348
  readonly About: typeof About,
331
349
  readonly ActivityBar: typeof ActivityBar,
332
350
  readonly BaseUrl: typeof BaseUrl,
351
+ readonly ClipBoard: typeof ClipBoard,
333
352
  readonly Command: typeof Command,
334
353
  readonly ContextMenu: typeof ContextMenu,
335
354
  readonly Developer: typeof Developer,
@@ -349,6 +368,7 @@ export interface TestApi {
349
368
  readonly Platform: typeof Platform,
350
369
  readonly Problems: typeof Problems,
351
370
  readonly QuickPick: typeof QuickPick,
371
+ readonly RunAndDebug: typeof RunAndDebug,
352
372
  readonly Search: typeof Search,
353
373
  readonly Settings: typeof Settings,
354
374
  readonly SideBar: typeof SideBar,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-with-playwright",
3
- "version": "2.19.0",
3
+ "version": "2.21.0",
4
4
  "description": "",
5
5
  "main": "src/main.js",
6
6
  "type": "module",
@@ -15,15 +15,15 @@
15
15
  "dependencies": {
16
16
  "@lvce-editor/assert": "^1.3.0",
17
17
  "@lvce-editor/command": "^1.2.0",
18
- "@lvce-editor/ipc": "^14.2.0",
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.19.0"
22
+ "@lvce-editor/test-with-playwright-worker": "2.21.0"
23
23
  },
24
24
  "devDependencies": {
25
- "@types/jest": "^29.5.14",
26
- "jest": "^30.0.0"
25
+ "@types/jest": "^30.0.0",
26
+ "jest": "^30.0.3"
27
27
  },
28
28
  "types": "api.d.ts"
29
29
  }