@lvce-editor/test-with-playwright 2.24.0 → 3.0.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 +1 -433
  2. package/package.json +7 -6
package/api.d.ts CHANGED
@@ -1,433 +1 @@
1
- // Generated by dts-bundle-generator v9.5.1
2
-
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
- declare const focus: () => Promise<void>;
10
- declare const focusFirst: () => Promise<void>;
11
- declare const focusLast: () => Promise<void>;
12
- declare const focusNext$1: () => Promise<void>;
13
- declare const focusPrevious$1: () => Promise<void>;
14
- declare const handleClick: (index: number) => Promise<void>;
15
- declare const handleContextMenu: () => Promise<void>;
16
- declare const selectCurrent: () => Promise<void>;
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>;
22
- declare const execute: (id: string, ...args: readonly any[]) => Promise<any>;
23
- declare const selectItem: (text: string) => Promise<void>;
24
- declare const openIframeInspector: () => Promise<void>;
25
- declare const openCacheFolder: () => Promise<void>;
26
- declare const openConfigFolder: () => Promise<void>;
27
- declare const openLogsFolder: () => Promise<void>;
28
- declare const openProcessExplorer: () => Promise<void>;
29
- declare const reloadColorTheme: () => Promise<void>;
30
- declare const reloadIconTheme: () => Promise<void>;
31
- declare const toggleDeveloperTools: () => Promise<void>;
32
- declare const setCursor: (rowIndex: number, columnIndex: number) => Promise<void>;
33
- declare const openCompletion: () => Promise<void>;
34
- declare const closeCompletion: () => Promise<void>;
35
- declare const openEditorContextMenu: () => Promise<void>;
36
- declare const invokeTabCompletion: () => Promise<void>;
37
- declare const executeTabCompletion: () => Promise<void>;
38
- declare const invokeBraceCompletion: (text: string) => Promise<void>;
39
- declare const cursorCharacterRight: () => Promise<void>;
40
- declare const cursorCharacterLeft: () => Promise<void>;
41
- declare const copyLineDown: () => Promise<void>;
42
- declare const cursorDown: () => Promise<void>;
43
- declare const cursorUp: () => Promise<void>;
44
- declare const cursorWordLeft: () => Promise<void>;
45
- declare const cursorWordRight: () => Promise<void>;
46
- declare const goToDefinition: () => Promise<void>;
47
- declare const openHover: () => Promise<void>;
48
- declare const goToTypeDefinition: () => Promise<void>;
49
- declare const type: (text: string) => Promise<void>;
50
- declare const findAllReferences: () => Promise<void>;
51
- declare const findAllImplementations: () => Promise<void>;
52
- declare const setSelections: (selections: any) => Promise<void>;
53
- declare const openFindWidget: () => Promise<void>;
54
- declare const setDeltaY: (deltaY: number) => Promise<void>;
55
- declare const format: () => Promise<void>;
56
- declare const insertLineBreak: () => Promise<void>;
57
- declare const openSourceActions: () => Promise<void>;
58
- declare const sourceActionsSelectCurrent: () => Promise<void>;
59
- declare const openCompletionDetails: () => Promise<void>;
60
- declare const closeCompletionDetails: () => Promise<void>;
61
- declare const toggleCompletionDetails: () => Promise<void>;
62
- declare const organizeImports: () => Promise<void>;
63
- declare const addAllMissingImports: () => Promise<void>;
64
- declare const sortImports: () => Promise<void>;
65
- declare const toggleLineComment: () => Promise<void>;
66
- declare const toggleBlockComment: () => Promise<void>;
67
- declare const selectAll: () => Promise<void>;
68
- declare const openColorPicker: () => Promise<void>;
69
- declare const openFind: () => Promise<void>;
70
- declare const deleteAllLeft: () => Promise<void>;
71
- declare const deleteAllRight: () => Promise<void>;
72
- declare const cursorWordPartLeft: () => Promise<void>;
73
- declare const cursorWordPartRight: () => Promise<void>;
74
- declare const cursorEnd: () => Promise<void>;
75
- declare const cursorHome: () => Promise<void>;
76
- declare const copyLineUp: () => Promise<void>;
77
- declare const copy: () => Promise<void>;
78
- declare const closeColorPicker: () => Promise<void>;
79
- declare const openContextMenu: () => Promise<void>;
80
- declare const getText: () => Promise<string>;
81
- declare const rename: () => Promise<void>;
82
- declare const showHover: () => Promise<void>;
83
- declare const openRename: () => Promise<void>;
84
- declare const shouldHaveText: (expectedText: string) => Promise<void>;
85
- declare const selectIndex: (index: number) => Promise<void>;
86
- declare const selectCurrentIndex: () => Promise<void>;
87
- declare const openContextMenu$1: (index: number) => Promise<void>;
88
- declare const handleDragLeave: () => Promise<void>;
89
- declare const handleBlur: () => Promise<void>;
90
- declare const handleInputBlur: () => Promise<void>;
91
- declare const focus$1: () => Promise<void>;
92
- declare const focusNext$2: () => Promise<void>;
93
- declare const selectUp: () => Promise<void>;
94
- declare const handleDragOverIndex: (index: number) => Promise<void>;
95
- declare const selectDown: () => Promise<void>;
96
- declare const refresh: () => Promise<void>;
97
- declare const focusIndex: (index: number) => Promise<void>;
98
- declare const clickCurrent: () => Promise<void>;
99
- declare const handleArrowLeft: () => Promise<void>;
100
- declare const focusLast$1: () => Promise<void>;
101
- declare const focusFirst$1: () => Promise<void>;
102
- declare const removeDirent: () => Promise<void>;
103
- declare const expandRecursively: () => Promise<void>;
104
- declare const newFile: () => Promise<void>;
105
- declare const newFolder: () => Promise<void>;
106
- declare const handleClick$1: (index: number) => Promise<void>;
107
- declare const handleClickAt: (preventDefault: boolean, button: number, ctrlKey: boolean, shiftKey: boolean, x: number, y: number) => Promise<void>;
108
- declare const handleDrop: (x: number, y: number, fileIds: readonly number[], fileList: FileList | readonly File[]) => Promise<void>;
109
- declare const rename$1: () => Promise<void>;
110
- declare const selectAll$1: () => Promise<void>;
111
- declare const renameDirent: () => Promise<void>;
112
- declare const cancelEdit: () => Promise<void>;
113
- declare const acceptEdit: () => Promise<void>;
114
- declare const updateEditingValue: (value: string) => Promise<void>;
115
- declare const expandAll: () => Promise<void>;
116
- declare const handleDragOver: (x: number, y: number) => Promise<void>;
117
- declare const handleCut: () => Promise<void>;
118
- declare const handleCopy: () => Promise<void>;
119
- declare const handlePaste: () => Promise<void>;
120
- declare const selectIndices: (indices: readonly number[]) => Promise<void>;
121
- declare const toggleIndividualSelection: (index: number) => Promise<void>;
122
- declare const addWebExtension: (relativePath: string) => Promise<void>;
123
- declare const addNodeExtension: (relativePath: string) => Promise<void>;
124
- declare const selectFeature: (name: string) => Promise<void>;
125
- declare const selectTab: (name: string) => Promise<void>;
126
- declare const selectDetails: () => Promise<void>;
127
- declare const selectFeatures: () => Promise<void>;
128
- declare const selectChangelog: () => Promise<void>;
129
- declare const open: (extensionId: string) => Promise<void>;
130
- declare const openFeature: (featureName: string) => Promise<void>;
131
- declare const openThemes: () => Promise<void>;
132
- declare const openCommands: () => Promise<void>;
133
- declare const openWebViews: () => Promise<void>;
134
- declare const openRuntimeStatus: () => Promise<void>;
135
- declare const openJsonValidation: () => Promise<void>;
136
- declare const openSettings: () => Promise<void>;
137
- declare const handleScroll: (scrollTop: number) => Promise<void>;
138
- declare const writeFile: (path: string, content: string) => Promise<void>;
139
- declare const mkdir: (path: string) => Promise<void>;
140
- declare const remove: (uri: string) => Promise<void>;
141
- declare const getTmpDir: ({ scheme }?: {
142
- readonly scheme?: string;
143
- }) => Promise<string>;
144
- declare const chmod: (uri: string, permissions: any) => Promise<void>;
145
- declare const createExecutable: (content: string) => Promise<string>;
146
- declare const createExecutableFrom: (path: string) => Promise<string>;
147
- declare const focusNext$3: () => Promise<void>;
148
- declare const setValue: (value: string) => Promise<void>;
149
- declare const setIconTheme: (id: string) => Promise<void>;
150
- declare const selectIndex$1: (index: number) => Promise<void>;
151
- declare const focusNext$4: () => Promise<void>;
152
- declare const focusPrevious$2: () => Promise<void>;
153
- declare const focusFirst$2: () => Promise<void>;
154
- declare const focusLast$2: () => Promise<void>;
155
- declare const open$1: () => Promise<void>;
156
- declare const handleInput: (value: string) => Promise<void>;
157
- declare const handleClick$2: (x: number, y: number) => Promise<void>;
158
- declare const handleWheel: (deltaMode: number, deltaY: number) => Promise<void>;
159
- declare const handleDoubleClick: (x: number, y: number) => Promise<void>;
160
- declare const focusNext$5: () => Promise<void>;
161
- declare const focusPrevious$3: () => Promise<void>;
162
- declare const focusFirst$3: () => Promise<void>;
163
- declare const focusLast$3: () => Promise<void>;
164
- declare const toggleRecordingKeys: () => Promise<void>;
165
- declare const startRecordingKeys: () => Promise<void>;
166
- declare const clearInput: () => Promise<void>;
167
- declare const sortByPrecedence: () => Promise<void>;
168
- declare const stopRecordingKeys: () => Promise<void>;
169
- declare const handleContextMenu$1: (button: number, x: number, y: number) => Promise<void>;
170
- declare const copyCommandId: () => Promise<void>;
171
- declare const copyCommandTitle: () => Promise<void>;
172
- declare const addKeyBinding: () => Promise<void>;
173
- declare const removeKeyBinding: () => Promise<void>;
174
- declare const changeWhenExpression: () => Promise<void>;
175
- declare const showSameKeyBindings: () => Promise<void>;
176
- declare const resetKeyBinding: () => Promise<void>;
177
- declare const press: (key: string) => Promise<void>;
178
- declare const openUri: (uri: string) => Promise<void>;
179
- declare const splitRight: () => Promise<void>;
180
- declare const openKeyBindings: () => Promise<void>;
181
- declare const closeAllEditors: () => Promise<void>;
182
- declare const closeTabsLeft: () => Promise<void>;
183
- declare const closeTabsRight: () => Promise<void>;
184
- declare const closeOthers: () => Promise<void>;
185
- declare const closeActiveEditor: () => Promise<void>;
186
- declare const focusFirst$4: () => Promise<void>;
187
- declare const focusNext$6: () => Promise<void>;
188
- declare const focusPrevious$4: () => Promise<void>;
189
- declare const focusLast$4: () => Promise<void>;
190
- declare const open$2: (id: string) => Promise<void>;
191
- declare const getNodePath: () => Promise<string>;
192
- declare const isFirefox: () => boolean;
193
- declare const show$1: () => Promise<void>;
194
- declare const handleFilterInput: (text: string) => Promise<void>;
195
- declare const copyMessage: () => Promise<void>;
196
- declare const focusIndex$1: (index: number) => Promise<void>;
197
- declare const handleArrowLeft$1: () => Promise<void>;
198
- declare const handleArrowRight: () => Promise<void>;
199
- declare const handleClickAt$1: (x: number, y: number) => Promise<void>;
200
- declare const handleIconThemeChange: () => Promise<void>;
201
- declare const viewAsList: () => Promise<void>;
202
- declare const viewAsTable: () => Promise<void>;
203
- declare const open$3: () => Promise<void>;
204
- declare const handleInput$1: (value: string) => Promise<void>;
205
- declare const handleClickAt$2: (x: number, y: number) => Promise<void>;
206
- declare const setValue$1: (value: string) => Promise<void>;
207
- declare const focusNext$7: () => Promise<void>;
208
- declare const focusFirst$5: () => Promise<void>;
209
- declare const focusLast$5: () => Promise<void>;
210
- declare const focusIndex$2: (index: number) => Promise<void>;
211
- declare const focusPrevious$5: () => Promise<void>;
212
- declare const selectItem$1: (label: string) => Promise<void>;
213
- declare const selectIndex$2: (index: number) => Promise<void>;
214
- declare const selectCurrentIndex$1: () => Promise<void>;
215
- declare const executeCommand: (label: string) => Promise<void>;
216
- declare const handleClickSectionWatch: () => Promise<void>;
217
- declare const addWatchExpression: (expression: string) => Promise<void>;
218
- declare const handleWatchValueChange: () => Promise<void>;
219
- declare const acceptWatchExpressionEdit: () => Promise<void>;
220
- declare const selectIndex$3: (index: number) => Promise<void>;
221
- declare const setPauseOnExceptions: (value: number) => Promise<void>;
222
- declare const handleRename: () => Promise<void>;
223
- declare const handleSpace: () => Promise<void>;
224
- declare const setValue$2: (value: string) => Promise<void>;
225
- declare const setReplaceValue: (value: string) => Promise<void>;
226
- declare const setExcludeValue: (value: string) => Promise<void>;
227
- declare const replaceAll: () => Promise<void>;
228
- declare const setIncludeValue: (value: string) => Promise<void>;
229
- declare const clearSearchResults: () => Promise<void>;
230
- declare const openDetails: () => Promise<void>;
231
- declare const collapseDetails: () => Promise<void>;
232
- declare const dismissItem: () => Promise<void>;
233
- declare const focusFirst$6: () => Promise<void>;
234
- declare const focusIndex$3: (index: number) => Promise<void>;
235
- declare const selectIndex$4: (index: number) => Promise<void>;
236
- declare const focusNext$8: () => Promise<void>;
237
- declare const handleWheel$1: (deltaMode: number, deltaY: number) => Promise<void>;
238
- declare const focusNextPage: () => Promise<void>;
239
- declare const focusPreviousPage: () => Promise<void>;
240
- declare const focusPrevious$6: () => Promise<void>;
241
- declare const toggleSearchDetails: () => Promise<void>;
242
- declare const toggleMatchCase: () => Promise<void>;
243
- declare const toggleMatchWholeWord: () => Promise<void>;
244
- declare const togglePreserveCase: () => Promise<void>;
245
- declare const toggleUseRegularExpression: () => Promise<void>;
246
- declare const toggleReplace: () => Promise<void>;
247
- declare const update: (settings: any) => Promise<void>;
248
- declare const show$2: () => Promise<void>;
249
- declare const handleInput$2: (searchValue: string) => Promise<void>;
250
- declare const usePreviousSearchValue: () => Promise<void>;
251
- declare const useNextSearchValue: () => Promise<void>;
252
- declare const clear: (searchValue: string) => Promise<void>;
253
- declare const selectTab$1: (tabId: string) => Promise<void>;
254
- declare const selectWorkspace: () => Promise<void>;
255
- declare const selectTextEditor: () => Promise<void>;
256
- declare const selectExtensions: () => Promise<void>;
257
- declare const handleScroll$1: (scrollTop: number) => Promise<void>;
258
- declare const open$4: (id: string) => Promise<void>;
259
- declare const hide: () => Promise<void>;
260
- declare const selectIndex$5: (index: number) => Promise<void>;
261
- declare const acceptInput: () => Promise<void>;
262
- declare const handleInput$3: (text: string) => Promise<void>;
263
- declare const handleClickSourceControlButtons: (index: number, name: string) => Promise<void>;
264
- declare const update$1: () => Promise<void>;
265
- declare const closeMenu: () => Promise<void>;
266
- declare const focus$2: () => Promise<void>;
267
- declare const focusFirst$7: () => Promise<void>;
268
- declare const focusIndex$4: (index: number) => Promise<void>;
269
- declare const focusLast$6: () => Promise<void>;
270
- declare const focusNext$9: () => Promise<void>;
271
- declare const focusPrevious$7: () => Promise<void>;
272
- declare const handleKeyArrowDown: () => Promise<void>;
273
- declare const handleKeyArrowLeft: () => Promise<void>;
274
- declare const handleKeyArrowRight: () => Promise<void>;
275
- declare const handleKeyArrowUp: () => Promise<void>;
276
- declare const handleKeyEnd: () => Promise<void>;
277
- declare const handleKeyHome: () => Promise<void>;
278
- declare const handleKeySpace: () => Promise<void>;
279
- declare const handleKeyEscape: () => Promise<void>;
280
- declare const toggleIndex: (index: number) => Promise<void>;
281
- declare const toggleMenu: () => Promise<void>;
282
- declare const setUrl: (newUrl: string) => void;
283
- declare const resolve: (relativePath: string) => string;
284
- declare const fromId: (webViewId: string) => Promise<any>;
285
- declare const setPath: (path: string) => Promise<void>;
286
- declare const openTmpDir: () => Promise<string>;
287
-
288
- declare namespace Workspace {
289
- export { openTmpDir, setPath };
290
- }
291
- declare namespace About {
292
- export { focusNext, focusPrevious, handleClickClose, handleClickCopy, handleClickOk, show };
293
- }
294
- declare namespace ActivityBar {
295
- export { focus, focusFirst, focusLast, focusNext$1 as focusNext, focusPrevious$1 as focusPrevious, handleClick, handleContextMenu, selectCurrent };
296
- }
297
- declare namespace BaseUrl {
298
- export { getBaseUrl };
299
- }
300
- declare namespace ClipBoard {
301
- export { disableMemoryClipBoard, enableMemoryClipBoard, readNativeFiles, writeNativeFiles };
302
- }
303
- declare namespace Command {
304
- export { execute };
305
- }
306
- declare namespace ContextMenu {
307
- export { selectItem };
308
- }
309
- declare namespace Developer {
310
- export { openCacheFolder, openConfigFolder, openIframeInspector, openLogsFolder, openProcessExplorer, reloadColorTheme, reloadIconTheme, toggleDeveloperTools };
311
- }
312
- declare namespace Editor {
313
- export { addAllMissingImports, closeColorPicker, closeCompletion, closeCompletionDetails, copy, copyLineDown, copyLineUp, cursorCharacterLeft, cursorCharacterRight, cursorDown, cursorEnd, cursorHome, cursorUp, cursorWordLeft, cursorWordPartLeft, cursorWordPartRight, cursorWordRight, deleteAllLeft, deleteAllRight, executeTabCompletion, findAllImplementations, findAllReferences, format, getText, goToDefinition, goToTypeDefinition, insertLineBreak, invokeBraceCompletion, invokeTabCompletion, openColorPicker, openCompletion, openCompletionDetails, openContextMenu, openEditorContextMenu, openFind, openFindWidget, openHover, openRename, openSourceActions, organizeImports, rename, selectAll, setCursor, setDeltaY, setSelections, shouldHaveText, showHover, sortImports, sourceActionsSelectCurrent, toggleBlockComment, toggleCompletionDetails, toggleLineComment, type };
314
- }
315
- declare namespace EditorCompletion {
316
- export { selectCurrentIndex, selectIndex };
317
- }
318
- declare namespace Explorer {
319
- 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 };
320
- }
321
- declare namespace Extension {
322
- export { addNodeExtension, addWebExtension };
323
- }
324
- declare namespace ExtensionDetail {
325
- export { handleScroll, open, openCommands, openFeature, openJsonValidation, openRuntimeStatus, openSettings, openThemes, openWebViews, selectChangelog, selectDetails, selectFeature, selectFeatures, selectTab };
326
- }
327
- declare namespace FileSystem {
328
- export { chmod, createExecutable, createExecutableFrom, getTmpDir, mkdir, remove, writeFile };
329
- }
330
- declare namespace FindWidget {
331
- export { focusNext$3 as focusNext, setValue };
332
- }
333
- declare namespace IconTheme {
334
- export { setIconTheme };
335
- }
336
- declare namespace IframeInspector {
337
- export { focusFirst$2 as focusFirst, focusLast$2 as focusLast, focusNext$4 as focusNext, focusPrevious$2 as focusPrevious, selectIndex$1 as selectIndex };
338
- }
339
- declare namespace KeyBindingsEditor {
340
- export { addKeyBinding, changeWhenExpression, clearInput, copyCommandId, copyCommandTitle, focusFirst$3 as focusFirst, focusLast$3 as focusLast, focusNext$5 as focusNext, focusPrevious$3 as focusPrevious, handleClick$2 as handleClick, handleContextMenu$1 as handleContextMenu, handleDoubleClick, handleInput, handleWheel, open$1 as open, removeKeyBinding, resetKeyBinding, showSameKeyBindings, sortByPrecedence, startRecordingKeys, stopRecordingKeys, toggleRecordingKeys };
341
- }
342
- declare namespace KeyBoard {
343
- export { press };
344
- }
345
- declare namespace Main {
346
- export { closeActiveEditor, closeAllEditors, closeOthers, closeTabsLeft, closeTabsRight, focusFirst$4 as focusFirst, focusLast$4 as focusLast, focusNext$6 as focusNext, focusPrevious$4 as focusPrevious, openKeyBindings, openUri, splitRight };
347
- }
348
- declare namespace Panel {
349
- export { open$2 as open };
350
- }
351
- declare namespace Platform {
352
- export { getNodePath, isFirefox };
353
- }
354
- declare namespace Problems {
355
- export { copyMessage, focusIndex$1 as focusIndex, handleArrowLeft$1 as handleArrowLeft, handleArrowRight, handleClickAt$1 as handleClickAt, handleFilterInput, handleIconThemeChange, show$1 as show, viewAsList, viewAsTable };
356
- }
357
- declare namespace QuickPick {
358
- 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 };
359
- }
360
- declare namespace RunAndDebug {
361
- export { acceptWatchExpressionEdit, addWatchExpression, handleClickSectionWatch, handleRename, handleSpace, handleWatchValueChange, selectIndex$3 as selectIndex, setPauseOnExceptions };
362
- }
363
- declare namespace Search {
364
- 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 };
365
- }
366
- declare namespace Settings {
367
- export { update };
368
- }
369
- declare namespace SettingsView {
370
- export { clear, handleInput$2 as handleInput, handleScroll$1 as handleScroll, selectExtensions, selectTab$1 as selectTab, selectTextEditor, selectWorkspace, show$2 as show, useNextSearchValue, usePreviousSearchValue };
371
- }
372
- declare namespace SideBar {
373
- export { hide, open$4 as open };
374
- }
375
- declare namespace SourceControl {
376
- export { acceptInput, handleClickSourceControlButtons, handleInput$3 as handleInput, selectIndex$5 as selectIndex };
377
- }
378
- declare namespace StatusBar {
379
- export { update$1 as update };
380
- }
381
- declare namespace TitleBarMenuBar {
382
- 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 };
383
- }
384
- declare namespace Url {
385
- export { resolve, setUrl };
386
- }
387
- declare namespace WebView {
388
- export { fromId };
389
- }
390
-
391
- export interface TestApi {
392
- readonly About: typeof About,
393
- readonly ActivityBar: typeof ActivityBar,
394
- readonly BaseUrl: typeof BaseUrl,
395
- readonly ClipBoard: typeof ClipBoard,
396
- readonly Command: typeof Command,
397
- readonly ContextMenu: typeof ContextMenu,
398
- readonly Developer: typeof Developer,
399
- readonly Editor: typeof Editor,
400
- readonly EditorCompletion: typeof EditorCompletion,
401
- readonly Explorer: typeof Explorer,
402
- readonly Extension: typeof Extension,
403
- readonly ExtensionDetail: typeof ExtensionDetail,
404
- readonly FileSystem: typeof FileSystem,
405
- readonly FindWidget: typeof FindWidget,
406
- readonly IconTheme: typeof IconTheme,
407
- readonly IframeInspector: typeof IframeInspector,
408
- readonly KeyBindingsEditor: typeof KeyBindingsEditor,
409
- readonly KeyBoard: typeof KeyBoard,
410
- readonly Main: typeof Main,
411
- readonly Panel: typeof Panel,
412
- readonly Platform: typeof Platform,
413
- readonly Problems: typeof Problems,
414
- readonly QuickPick: typeof QuickPick,
415
- readonly RunAndDebug: typeof RunAndDebug,
416
- readonly Search: typeof Search,
417
- readonly Settings: typeof Settings,
418
- readonly SettingsView: typeof SettingsView,
419
- readonly SideBar: typeof SideBar,
420
- readonly SourceControl: typeof SourceControl,
421
- readonly StatusBar: typeof StatusBar,
422
- readonly TitleBarMenuBar: typeof TitleBarMenuBar,
423
- readonly Url: typeof Url,
424
- readonly WebView: typeof WebView,
425
- readonly Workspace: typeof Workspace,
426
- readonly expect: any
427
- readonly Locator: (selector: string, options?: any) => any
428
- }
429
-
430
- export interface Test {
431
- (api: TestApi): Promise<void>
432
- }
433
-
1
+ export * from '@lvce-editor/test-worker'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-with-playwright",
3
- "version": "2.24.0",
3
+ "version": "3.0.0",
4
4
  "description": "",
5
5
  "main": "src/main.js",
6
6
  "type": "module",
@@ -14,16 +14,17 @@
14
14
  "license": "MIT",
15
15
  "dependencies": {
16
16
  "@lvce-editor/assert": "^1.4.0",
17
- "@lvce-editor/command": "^1.2.0",
18
- "@lvce-editor/ipc": "^14.3.0",
19
- "@lvce-editor/json-rpc": "^6.2.0",
17
+ "@lvce-editor/command": "^2.0.0",
18
+ "@lvce-editor/ipc": "^14.4.0",
19
+ "@lvce-editor/json-rpc": "^7.0.0",
20
20
  "@lvce-editor/verror": "^1.7.0",
21
21
  "minimist": "^1.2.8",
22
- "@lvce-editor/test-with-playwright-worker": "2.24.0"
22
+ "@lvce-editor/test-with-playwright-worker": "3.0.0",
23
+ "@lvce-editor/test-worker": "^4.34.0"
23
24
  },
24
25
  "devDependencies": {
25
26
  "@types/jest": "^30.0.0",
26
- "jest": "^30.0.3"
27
+ "jest": "^30.0.5"
27
28
  },
28
29
  "types": "api.d.ts"
29
30
  }