@lvce-editor/test-with-playwright 2.22.0 → 2.24.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 +48 -12
- package/package.json +2 -2
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>;
|
|
@@ -117,11 +118,23 @@ declare const handleCut: () => Promise<void>;
|
|
|
117
118
|
declare const handleCopy: () => Promise<void>;
|
|
118
119
|
declare const handlePaste: () => Promise<void>;
|
|
119
120
|
declare const selectIndices: (indices: readonly number[]) => Promise<void>;
|
|
121
|
+
declare const toggleIndividualSelection: (index: number) => Promise<void>;
|
|
120
122
|
declare const addWebExtension: (relativePath: string) => Promise<void>;
|
|
121
123
|
declare const addNodeExtension: (relativePath: string) => Promise<void>;
|
|
122
124
|
declare const selectFeature: (name: string) => Promise<void>;
|
|
123
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>;
|
|
124
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>;
|
|
125
138
|
declare const writeFile: (path: string, content: string) => Promise<void>;
|
|
126
139
|
declare const mkdir: (path: string) => Promise<void>;
|
|
127
140
|
declare const remove: (uri: string) => Promise<void>;
|
|
@@ -178,14 +191,23 @@ declare const open$2: (id: string) => Promise<void>;
|
|
|
178
191
|
declare const getNodePath: () => Promise<string>;
|
|
179
192
|
declare const isFirefox: () => boolean;
|
|
180
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>;
|
|
181
203
|
declare const open$3: () => Promise<void>;
|
|
182
204
|
declare const handleInput$1: (value: string) => Promise<void>;
|
|
183
|
-
declare const handleClickAt$
|
|
205
|
+
declare const handleClickAt$2: (x: number, y: number) => Promise<void>;
|
|
184
206
|
declare const setValue$1: (value: string) => Promise<void>;
|
|
185
207
|
declare const focusNext$7: () => Promise<void>;
|
|
186
208
|
declare const focusFirst$5: () => Promise<void>;
|
|
187
209
|
declare const focusLast$5: () => Promise<void>;
|
|
188
|
-
declare const focusIndex$
|
|
210
|
+
declare const focusIndex$2: (index: number) => Promise<void>;
|
|
189
211
|
declare const focusPrevious$5: () => Promise<void>;
|
|
190
212
|
declare const selectItem$1: (label: string) => Promise<void>;
|
|
191
213
|
declare const selectIndex$2: (index: number) => Promise<void>;
|
|
@@ -209,7 +231,7 @@ declare const openDetails: () => Promise<void>;
|
|
|
209
231
|
declare const collapseDetails: () => Promise<void>;
|
|
210
232
|
declare const dismissItem: () => Promise<void>;
|
|
211
233
|
declare const focusFirst$6: () => Promise<void>;
|
|
212
|
-
declare const focusIndex$
|
|
234
|
+
declare const focusIndex$3: (index: number) => Promise<void>;
|
|
213
235
|
declare const selectIndex$4: (index: number) => Promise<void>;
|
|
214
236
|
declare const focusNext$8: () => Promise<void>;
|
|
215
237
|
declare const handleWheel$1: (deltaMode: number, deltaY: number) => Promise<void>;
|
|
@@ -223,17 +245,27 @@ declare const togglePreserveCase: () => Promise<void>;
|
|
|
223
245
|
declare const toggleUseRegularExpression: () => Promise<void>;
|
|
224
246
|
declare const toggleReplace: () => Promise<void>;
|
|
225
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>;
|
|
226
258
|
declare const open$4: (id: string) => Promise<void>;
|
|
227
259
|
declare const hide: () => Promise<void>;
|
|
228
260
|
declare const selectIndex$5: (index: number) => Promise<void>;
|
|
229
261
|
declare const acceptInput: () => Promise<void>;
|
|
230
|
-
declare const handleInput$
|
|
262
|
+
declare const handleInput$3: (text: string) => Promise<void>;
|
|
231
263
|
declare const handleClickSourceControlButtons: (index: number, name: string) => Promise<void>;
|
|
232
264
|
declare const update$1: () => Promise<void>;
|
|
233
265
|
declare const closeMenu: () => Promise<void>;
|
|
234
266
|
declare const focus$2: () => Promise<void>;
|
|
235
267
|
declare const focusFirst$7: () => Promise<void>;
|
|
236
|
-
declare const focusIndex$
|
|
268
|
+
declare const focusIndex$4: (index: number) => Promise<void>;
|
|
237
269
|
declare const focusLast$6: () => Promise<void>;
|
|
238
270
|
declare const focusNext$9: () => Promise<void>;
|
|
239
271
|
declare const focusPrevious$7: () => Promise<void>;
|
|
@@ -284,13 +316,13 @@ declare namespace EditorCompletion {
|
|
|
284
316
|
export { selectCurrentIndex, selectIndex };
|
|
285
317
|
}
|
|
286
318
|
declare namespace Explorer {
|
|
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 };
|
|
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 };
|
|
288
320
|
}
|
|
289
321
|
declare namespace Extension {
|
|
290
322
|
export { addNodeExtension, addWebExtension };
|
|
291
323
|
}
|
|
292
324
|
declare namespace ExtensionDetail {
|
|
293
|
-
export { open, selectFeature, selectTab };
|
|
325
|
+
export { handleScroll, open, openCommands, openFeature, openJsonValidation, openRuntimeStatus, openSettings, openThemes, openWebViews, selectChangelog, selectDetails, selectFeature, selectFeatures, selectTab };
|
|
294
326
|
}
|
|
295
327
|
declare namespace FileSystem {
|
|
296
328
|
export { chmod, createExecutable, createExecutableFrom, getTmpDir, mkdir, remove, writeFile };
|
|
@@ -320,31 +352,34 @@ declare namespace Platform {
|
|
|
320
352
|
export { getNodePath, isFirefox };
|
|
321
353
|
}
|
|
322
354
|
declare namespace Problems {
|
|
323
|
-
export { show$1 as show };
|
|
355
|
+
export { copyMessage, focusIndex$1 as focusIndex, handleArrowLeft$1 as handleArrowLeft, handleArrowRight, handleClickAt$1 as handleClickAt, handleFilterInput, handleIconThemeChange, show$1 as show, viewAsList, viewAsTable };
|
|
324
356
|
}
|
|
325
357
|
declare namespace QuickPick {
|
|
326
|
-
export { executeCommand, focusFirst$5 as focusFirst, focusIndex$
|
|
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 };
|
|
327
359
|
}
|
|
328
360
|
declare namespace RunAndDebug {
|
|
329
361
|
export { acceptWatchExpressionEdit, addWatchExpression, handleClickSectionWatch, handleRename, handleSpace, handleWatchValueChange, selectIndex$3 as selectIndex, setPauseOnExceptions };
|
|
330
362
|
}
|
|
331
363
|
declare namespace Search {
|
|
332
|
-
export { clearSearchResults, collapseDetails, dismissItem, focusFirst$6 as focusFirst, focusIndex$
|
|
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 };
|
|
333
365
|
}
|
|
334
366
|
declare namespace Settings {
|
|
335
367
|
export { update };
|
|
336
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
|
+
}
|
|
337
372
|
declare namespace SideBar {
|
|
338
373
|
export { hide, open$4 as open };
|
|
339
374
|
}
|
|
340
375
|
declare namespace SourceControl {
|
|
341
|
-
export { acceptInput, handleClickSourceControlButtons, handleInput$
|
|
376
|
+
export { acceptInput, handleClickSourceControlButtons, handleInput$3 as handleInput, selectIndex$5 as selectIndex };
|
|
342
377
|
}
|
|
343
378
|
declare namespace StatusBar {
|
|
344
379
|
export { update$1 as update };
|
|
345
380
|
}
|
|
346
381
|
declare namespace TitleBarMenuBar {
|
|
347
|
-
export { closeMenu, focus$2 as focus, focusFirst$7 as focusFirst, focusIndex$
|
|
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 };
|
|
348
383
|
}
|
|
349
384
|
declare namespace Url {
|
|
350
385
|
export { resolve, setUrl };
|
|
@@ -380,6 +415,7 @@ export interface TestApi {
|
|
|
380
415
|
readonly RunAndDebug: typeof RunAndDebug,
|
|
381
416
|
readonly Search: typeof Search,
|
|
382
417
|
readonly Settings: typeof Settings,
|
|
418
|
+
readonly SettingsView: typeof SettingsView,
|
|
383
419
|
readonly SideBar: typeof SideBar,
|
|
384
420
|
readonly SourceControl: typeof SourceControl,
|
|
385
421
|
readonly StatusBar: typeof StatusBar,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/test-with-playwright",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.24.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/main.js",
|
|
6
6
|
"type": "module",
|
|
@@ -19,7 +19,7 @@
|
|
|
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.24.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/jest": "^30.0.0",
|