@lvce-editor/test-with-playwright 2.23.0 → 2.25.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 +34 -6
- package/package.json +2 -2
package/api.d.ts
CHANGED
|
@@ -123,11 +123,18 @@ declare const addWebExtension: (relativePath: string) => Promise<void>;
|
|
|
123
123
|
declare const addNodeExtension: (relativePath: string) => Promise<void>;
|
|
124
124
|
declare const selectFeature: (name: string) => Promise<void>;
|
|
125
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>;
|
|
126
129
|
declare const open: (extensionId: string) => Promise<void>;
|
|
127
130
|
declare const openFeature: (featureName: string) => Promise<void>;
|
|
128
131
|
declare const openThemes: () => Promise<void>;
|
|
129
132
|
declare const openCommands: () => Promise<void>;
|
|
130
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>;
|
|
131
138
|
declare const writeFile: (path: string, content: string) => Promise<void>;
|
|
132
139
|
declare const mkdir: (path: string) => Promise<void>;
|
|
133
140
|
declare const remove: (uri: string) => Promise<void>;
|
|
@@ -180,11 +187,14 @@ declare const focusFirst$4: () => Promise<void>;
|
|
|
180
187
|
declare const focusNext$6: () => Promise<void>;
|
|
181
188
|
declare const focusPrevious$4: () => Promise<void>;
|
|
182
189
|
declare const focusLast$4: () => Promise<void>;
|
|
190
|
+
declare const show$1: () => Promise<void>;
|
|
191
|
+
declare const handleFilterInput: (text: string) => Promise<void>;
|
|
192
|
+
declare const selectChannel: (channelId: string) => Promise<void>;
|
|
183
193
|
declare const open$2: (id: string) => Promise<void>;
|
|
184
194
|
declare const getNodePath: () => Promise<string>;
|
|
185
195
|
declare const isFirefox: () => boolean;
|
|
186
|
-
declare const show$
|
|
187
|
-
declare const handleFilterInput: (text: string) => Promise<void>;
|
|
196
|
+
declare const show$2: () => Promise<void>;
|
|
197
|
+
declare const handleFilterInput$1: (text: string) => Promise<void>;
|
|
188
198
|
declare const copyMessage: () => Promise<void>;
|
|
189
199
|
declare const focusIndex$1: (index: number) => Promise<void>;
|
|
190
200
|
declare const handleArrowLeft$1: () => Promise<void>;
|
|
@@ -238,11 +248,21 @@ declare const togglePreserveCase: () => Promise<void>;
|
|
|
238
248
|
declare const toggleUseRegularExpression: () => Promise<void>;
|
|
239
249
|
declare const toggleReplace: () => Promise<void>;
|
|
240
250
|
declare const update: (settings: any) => Promise<void>;
|
|
251
|
+
declare const show$3: () => Promise<void>;
|
|
252
|
+
declare const handleInput$2: (searchValue: string) => Promise<void>;
|
|
253
|
+
declare const usePreviousSearchValue: () => Promise<void>;
|
|
254
|
+
declare const useNextSearchValue: () => Promise<void>;
|
|
255
|
+
declare const clear: (searchValue: string) => Promise<void>;
|
|
256
|
+
declare const selectTab$1: (tabId: string) => Promise<void>;
|
|
257
|
+
declare const selectWorkspace: () => Promise<void>;
|
|
258
|
+
declare const selectTextEditor: () => Promise<void>;
|
|
259
|
+
declare const selectExtensions: () => Promise<void>;
|
|
260
|
+
declare const handleScroll$1: (scrollTop: number) => Promise<void>;
|
|
241
261
|
declare const open$4: (id: string) => Promise<void>;
|
|
242
262
|
declare const hide: () => Promise<void>;
|
|
243
263
|
declare const selectIndex$5: (index: number) => Promise<void>;
|
|
244
264
|
declare const acceptInput: () => Promise<void>;
|
|
245
|
-
declare const handleInput$
|
|
265
|
+
declare const handleInput$3: (text: string) => Promise<void>;
|
|
246
266
|
declare const handleClickSourceControlButtons: (index: number, name: string) => Promise<void>;
|
|
247
267
|
declare const update$1: () => Promise<void>;
|
|
248
268
|
declare const closeMenu: () => Promise<void>;
|
|
@@ -305,7 +325,7 @@ declare namespace Extension {
|
|
|
305
325
|
export { addNodeExtension, addWebExtension };
|
|
306
326
|
}
|
|
307
327
|
declare namespace ExtensionDetail {
|
|
308
|
-
export { open, openCommands, openFeature, openThemes, openWebViews, selectFeature, selectTab };
|
|
328
|
+
export { handleScroll, open, openCommands, openFeature, openJsonValidation, openRuntimeStatus, openSettings, openThemes, openWebViews, selectChangelog, selectDetails, selectFeature, selectFeatures, selectTab };
|
|
309
329
|
}
|
|
310
330
|
declare namespace FileSystem {
|
|
311
331
|
export { chmod, createExecutable, createExecutableFrom, getTmpDir, mkdir, remove, writeFile };
|
|
@@ -328,6 +348,9 @@ declare namespace KeyBoard {
|
|
|
328
348
|
declare namespace Main {
|
|
329
349
|
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 };
|
|
330
350
|
}
|
|
351
|
+
declare namespace Output {
|
|
352
|
+
export { handleFilterInput, selectChannel, show$1 as show };
|
|
353
|
+
}
|
|
331
354
|
declare namespace Panel {
|
|
332
355
|
export { open$2 as open };
|
|
333
356
|
}
|
|
@@ -335,7 +358,7 @@ declare namespace Platform {
|
|
|
335
358
|
export { getNodePath, isFirefox };
|
|
336
359
|
}
|
|
337
360
|
declare namespace Problems {
|
|
338
|
-
export { copyMessage, focusIndex$1 as focusIndex, handleArrowLeft$1 as handleArrowLeft, handleArrowRight, handleClickAt$1 as handleClickAt, handleFilterInput, handleIconThemeChange, show$
|
|
361
|
+
export { copyMessage, focusIndex$1 as focusIndex, handleArrowLeft$1 as handleArrowLeft, handleArrowRight, handleClickAt$1 as handleClickAt, handleFilterInput$1 as handleFilterInput, handleIconThemeChange, show$2 as show, viewAsList, viewAsTable };
|
|
339
362
|
}
|
|
340
363
|
declare namespace QuickPick {
|
|
341
364
|
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 };
|
|
@@ -349,11 +372,14 @@ declare namespace Search {
|
|
|
349
372
|
declare namespace Settings {
|
|
350
373
|
export { update };
|
|
351
374
|
}
|
|
375
|
+
declare namespace SettingsView {
|
|
376
|
+
export { clear, handleInput$2 as handleInput, handleScroll$1 as handleScroll, selectExtensions, selectTab$1 as selectTab, selectTextEditor, selectWorkspace, show$3 as show, useNextSearchValue, usePreviousSearchValue };
|
|
377
|
+
}
|
|
352
378
|
declare namespace SideBar {
|
|
353
379
|
export { hide, open$4 as open };
|
|
354
380
|
}
|
|
355
381
|
declare namespace SourceControl {
|
|
356
|
-
export { acceptInput, handleClickSourceControlButtons, handleInput$
|
|
382
|
+
export { acceptInput, handleClickSourceControlButtons, handleInput$3 as handleInput, selectIndex$5 as selectIndex };
|
|
357
383
|
}
|
|
358
384
|
declare namespace StatusBar {
|
|
359
385
|
export { update$1 as update };
|
|
@@ -388,6 +414,7 @@ export interface TestApi {
|
|
|
388
414
|
readonly KeyBindingsEditor: typeof KeyBindingsEditor,
|
|
389
415
|
readonly KeyBoard: typeof KeyBoard,
|
|
390
416
|
readonly Main: typeof Main,
|
|
417
|
+
readonly Output: typeof Output,
|
|
391
418
|
readonly Panel: typeof Panel,
|
|
392
419
|
readonly Platform: typeof Platform,
|
|
393
420
|
readonly Problems: typeof Problems,
|
|
@@ -395,6 +422,7 @@ export interface TestApi {
|
|
|
395
422
|
readonly RunAndDebug: typeof RunAndDebug,
|
|
396
423
|
readonly Search: typeof Search,
|
|
397
424
|
readonly Settings: typeof Settings,
|
|
425
|
+
readonly SettingsView: typeof SettingsView,
|
|
398
426
|
readonly SideBar: typeof SideBar,
|
|
399
427
|
readonly SourceControl: typeof SourceControl,
|
|
400
428
|
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.25.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.25.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/jest": "^30.0.0",
|