@lvce-editor/test-with-playwright 2.21.0 → 2.23.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 +37 -12
  2. package/package.json +3 -3
package/api.d.ts CHANGED
@@ -91,6 +91,7 @@ declare const handleInputBlur: () => Promise<void>;
91
91
  declare const focus$1: () => Promise<void>;
92
92
  declare const focusNext$2: () => Promise<void>;
93
93
  declare const selectUp: () => Promise<void>;
94
+ declare const handleDragOverIndex: (index: number) => Promise<void>;
94
95
  declare const selectDown: () => Promise<void>;
95
96
  declare const refresh: () => Promise<void>;
96
97
  declare const focusIndex: (index: number) => Promise<void>;
@@ -114,13 +115,19 @@ declare const updateEditingValue: (value: string) => Promise<void>;
114
115
  declare const expandAll: () => Promise<void>;
115
116
  declare const handleDragOver: (x: number, y: number) => Promise<void>;
116
117
  declare const handleCut: () => Promise<void>;
118
+ declare const handleCopy: () => Promise<void>;
117
119
  declare const handlePaste: () => Promise<void>;
118
120
  declare const selectIndices: (indices: readonly number[]) => Promise<void>;
121
+ declare const toggleIndividualSelection: (index: number) => Promise<void>;
119
122
  declare const addWebExtension: (relativePath: string) => Promise<void>;
120
123
  declare const addNodeExtension: (relativePath: string) => Promise<void>;
121
124
  declare const selectFeature: (name: string) => Promise<void>;
122
125
  declare const selectTab: (name: string) => Promise<void>;
123
126
  declare const open: (extensionId: string) => Promise<void>;
127
+ declare const openFeature: (featureName: string) => Promise<void>;
128
+ declare const openThemes: () => Promise<void>;
129
+ declare const openCommands: () => Promise<void>;
130
+ declare const openWebViews: () => Promise<void>;
124
131
  declare const writeFile: (path: string, content: string) => Promise<void>;
125
132
  declare const mkdir: (path: string) => Promise<void>;
126
133
  declare const remove: (uri: string) => Promise<void>;
@@ -177,14 +184,23 @@ declare const open$2: (id: string) => Promise<void>;
177
184
  declare const getNodePath: () => Promise<string>;
178
185
  declare const isFirefox: () => boolean;
179
186
  declare const show$1: () => Promise<void>;
187
+ declare const handleFilterInput: (text: string) => Promise<void>;
188
+ declare const copyMessage: () => Promise<void>;
189
+ declare const focusIndex$1: (index: number) => Promise<void>;
190
+ declare const handleArrowLeft$1: () => Promise<void>;
191
+ declare const handleArrowRight: () => Promise<void>;
192
+ declare const handleClickAt$1: (x: number, y: number) => Promise<void>;
193
+ declare const handleIconThemeChange: () => Promise<void>;
194
+ declare const viewAsList: () => Promise<void>;
195
+ declare const viewAsTable: () => Promise<void>;
180
196
  declare const open$3: () => Promise<void>;
181
197
  declare const handleInput$1: (value: string) => Promise<void>;
182
- declare const handleClickAt$1: (x: number, y: number) => Promise<void>;
198
+ declare const handleClickAt$2: (x: number, y: number) => Promise<void>;
183
199
  declare const setValue$1: (value: string) => Promise<void>;
184
200
  declare const focusNext$7: () => Promise<void>;
185
201
  declare const focusFirst$5: () => Promise<void>;
186
202
  declare const focusLast$5: () => Promise<void>;
187
- declare const focusIndex$1: (index: number) => Promise<void>;
203
+ declare const focusIndex$2: (index: number) => Promise<void>;
188
204
  declare const focusPrevious$5: () => Promise<void>;
189
205
  declare const selectItem$1: (label: string) => Promise<void>;
190
206
  declare const selectIndex$2: (index: number) => Promise<void>;
@@ -195,7 +211,9 @@ declare const addWatchExpression: (expression: string) => Promise<void>;
195
211
  declare const handleWatchValueChange: () => Promise<void>;
196
212
  declare const acceptWatchExpressionEdit: () => Promise<void>;
197
213
  declare const selectIndex$3: (index: number) => Promise<void>;
214
+ declare const setPauseOnExceptions: (value: number) => Promise<void>;
198
215
  declare const handleRename: () => Promise<void>;
216
+ declare const handleSpace: () => Promise<void>;
199
217
  declare const setValue$2: (value: string) => Promise<void>;
200
218
  declare const setReplaceValue: (value: string) => Promise<void>;
201
219
  declare const setExcludeValue: (value: string) => Promise<void>;
@@ -206,7 +224,7 @@ declare const openDetails: () => Promise<void>;
206
224
  declare const collapseDetails: () => Promise<void>;
207
225
  declare const dismissItem: () => Promise<void>;
208
226
  declare const focusFirst$6: () => Promise<void>;
209
- declare const focusIndex$2: (index: number) => Promise<void>;
227
+ declare const focusIndex$3: (index: number) => Promise<void>;
210
228
  declare const selectIndex$4: (index: number) => Promise<void>;
211
229
  declare const focusNext$8: () => Promise<void>;
212
230
  declare const handleWheel$1: (deltaMode: number, deltaY: number) => Promise<void>;
@@ -230,7 +248,7 @@ declare const update$1: () => Promise<void>;
230
248
  declare const closeMenu: () => Promise<void>;
231
249
  declare const focus$2: () => Promise<void>;
232
250
  declare const focusFirst$7: () => Promise<void>;
233
- declare const focusIndex$3: (index: number) => Promise<void>;
251
+ declare const focusIndex$4: (index: number) => Promise<void>;
234
252
  declare const focusLast$6: () => Promise<void>;
235
253
  declare const focusNext$9: () => Promise<void>;
236
254
  declare const focusPrevious$7: () => Promise<void>;
@@ -244,11 +262,14 @@ declare const handleKeySpace: () => Promise<void>;
244
262
  declare const handleKeyEscape: () => Promise<void>;
245
263
  declare const toggleIndex: (index: number) => Promise<void>;
246
264
  declare const toggleMenu: () => Promise<void>;
265
+ declare const setUrl: (newUrl: string) => void;
266
+ declare const resolve: (relativePath: string) => string;
247
267
  declare const fromId: (webViewId: string) => Promise<any>;
248
268
  declare const setPath: (path: string) => Promise<void>;
269
+ declare const openTmpDir: () => Promise<string>;
249
270
 
250
271
  declare namespace Workspace {
251
- export { setPath };
272
+ export { openTmpDir, setPath };
252
273
  }
253
274
  declare namespace About {
254
275
  export { focusNext, focusPrevious, handleClickClose, handleClickCopy, handleClickOk, show };
@@ -278,13 +299,13 @@ declare namespace EditorCompletion {
278
299
  export { selectCurrentIndex, selectIndex };
279
300
  }
280
301
  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 };
302
+ 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, handleDragOverIndex, handleDrop, handleInputBlur, handlePaste, newFile, newFolder, openContextMenu$1 as openContextMenu, refresh, removeDirent, rename$1 as rename, renameDirent, selectAll$1 as selectAll, selectDown, selectIndices, selectUp, toggleIndividualSelection, updateEditingValue };
282
303
  }
283
304
  declare namespace Extension {
284
305
  export { addNodeExtension, addWebExtension };
285
306
  }
286
307
  declare namespace ExtensionDetail {
287
- export { open, selectFeature, selectTab };
308
+ export { open, openCommands, openFeature, openThemes, openWebViews, selectFeature, selectTab };
288
309
  }
289
310
  declare namespace FileSystem {
290
311
  export { chmod, createExecutable, createExecutableFrom, getTmpDir, mkdir, remove, writeFile };
@@ -314,16 +335,16 @@ declare namespace Platform {
314
335
  export { getNodePath, isFirefox };
315
336
  }
316
337
  declare namespace Problems {
317
- export { show$1 as show };
338
+ export { copyMessage, focusIndex$1 as focusIndex, handleArrowLeft$1 as handleArrowLeft, handleArrowRight, handleClickAt$1 as handleClickAt, handleFilterInput, handleIconThemeChange, show$1 as show, viewAsList, viewAsTable };
318
339
  }
319
340
  declare namespace QuickPick {
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 };
341
+ export { executeCommand, focusFirst$5 as focusFirst, focusIndex$2 as focusIndex, focusLast$5 as focusLast, focusNext$7 as focusNext, focusPrevious$5 as focusPrevious, handleClickAt$2 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
342
  }
322
343
  declare namespace RunAndDebug {
323
- export { acceptWatchExpressionEdit, addWatchExpression, handleClickSectionWatch, handleRename, handleWatchValueChange, selectIndex$3 as selectIndex };
344
+ export { acceptWatchExpressionEdit, addWatchExpression, handleClickSectionWatch, handleRename, handleSpace, handleWatchValueChange, selectIndex$3 as selectIndex, setPauseOnExceptions };
324
345
  }
325
346
  declare namespace Search {
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 };
347
+ export { clearSearchResults, collapseDetails, dismissItem, focusFirst$6 as focusFirst, focusIndex$3 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 };
327
348
  }
328
349
  declare namespace Settings {
329
350
  export { update };
@@ -338,7 +359,10 @@ declare namespace StatusBar {
338
359
  export { update$1 as update };
339
360
  }
340
361
  declare namespace TitleBarMenuBar {
341
- 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 };
362
+ export { closeMenu, focus$2 as focus, focusFirst$7 as focusFirst, focusIndex$4 as focusIndex, focusLast$6 as focusLast, focusNext$9 as focusNext, focusPrevious$7 as focusPrevious, handleKeyArrowDown, handleKeyArrowLeft, handleKeyArrowRight, handleKeyArrowUp, handleKeyEnd, handleKeyEscape, handleKeyHome, handleKeySpace, toggleIndex, toggleMenu };
363
+ }
364
+ declare namespace Url {
365
+ export { resolve, setUrl };
342
366
  }
343
367
  declare namespace WebView {
344
368
  export { fromId };
@@ -375,6 +399,7 @@ export interface TestApi {
375
399
  readonly SourceControl: typeof SourceControl,
376
400
  readonly StatusBar: typeof StatusBar,
377
401
  readonly TitleBarMenuBar: typeof TitleBarMenuBar,
402
+ readonly Url: typeof Url,
378
403
  readonly WebView: typeof WebView,
379
404
  readonly Workspace: typeof Workspace,
380
405
  readonly expect: any
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-with-playwright",
3
- "version": "2.21.0",
3
+ "version": "2.23.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.3.0",
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.21.0"
22
+ "@lvce-editor/test-with-playwright-worker": "2.23.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/jest": "^30.0.0",