@lvce-editor/test-with-playwright 2.15.0 → 2.17.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 +14 -5
  2. package/package.json +2 -2
package/api.d.ts CHANGED
@@ -81,9 +81,13 @@ declare const shouldHaveText: (expectedText: string) => Promise<void>;
81
81
  declare const selectIndex: (index: number) => Promise<void>;
82
82
  declare const selectCurrentIndex: () => Promise<void>;
83
83
  declare const openContextMenu$1: (index: number) => Promise<void>;
84
- declare const handleDragLeave: (index: number) => Promise<void>;
84
+ declare const handleDragLeave: () => Promise<void>;
85
+ declare const handleBlur: () => Promise<void>;
86
+ declare const handleInputBlur: () => Promise<void>;
85
87
  declare const focus$1: () => Promise<void>;
86
88
  declare const focusNext$2: () => Promise<void>;
89
+ declare const selectUp: () => Promise<void>;
90
+ declare const selectDown: () => Promise<void>;
87
91
  declare const refresh: () => Promise<void>;
88
92
  declare const focusIndex: (index: number) => Promise<void>;
89
93
  declare const clickCurrent: () => Promise<void>;
@@ -95,14 +99,17 @@ declare const expandRecursively: () => Promise<void>;
95
99
  declare const newFile: () => Promise<void>;
96
100
  declare const newFolder: () => Promise<void>;
97
101
  declare const handleClick$1: (index: number) => Promise<void>;
102
+ declare const handleClickAt: (preventDefault: boolean, button: number, ctrlKey: boolean, shiftKey: boolean, x: number, y: number) => Promise<void>;
98
103
  declare const handleDrop: (x: number, y: number, fileIds: readonly number[], fileList: FileList | readonly File[]) => Promise<void>;
99
104
  declare const rename$1: () => Promise<void>;
105
+ declare const selectAll$1: () => Promise<void>;
100
106
  declare const renameDirent: () => Promise<void>;
101
107
  declare const cancelEdit: () => Promise<void>;
102
108
  declare const acceptEdit: () => Promise<void>;
103
109
  declare const updateEditingValue: (value: string) => Promise<void>;
104
110
  declare const expandAll: () => Promise<void>;
105
111
  declare const handleDragOver: (x: number, y: number) => Promise<void>;
112
+ declare const selectIndices: (indices: readonly number[]) => Promise<void>;
106
113
  declare const addWebExtension: (relativePath: string) => Promise<void>;
107
114
  declare const addNodeExtension: (relativePath: string) => Promise<void>;
108
115
  declare const selectFeature: (name: string) => Promise<void>;
@@ -166,7 +173,7 @@ declare const isFirefox: () => boolean;
166
173
  declare const show$1: () => Promise<void>;
167
174
  declare const open$3: () => Promise<void>;
168
175
  declare const handleInput$1: (value: string) => Promise<void>;
169
- declare const handleClickAt: (x: number, y: number) => Promise<void>;
176
+ declare const handleClickAt$1: (x: number, y: number) => Promise<void>;
170
177
  declare const setValue$1: (value: string) => Promise<void>;
171
178
  declare const focusNext$7: () => Promise<void>;
172
179
  declare const focusFirst$5: () => Promise<void>;
@@ -203,8 +210,10 @@ declare const toggleReplace: () => Promise<void>;
203
210
  declare const update: (settings: any) => Promise<void>;
204
211
  declare const open$4: (id: string) => Promise<void>;
205
212
  declare const hide: () => Promise<void>;
213
+ declare const selectIndex$4: (index: number) => Promise<void>;
206
214
  declare const acceptInput: () => Promise<void>;
207
215
  declare const handleInput$2: (text: string) => Promise<void>;
216
+ declare const handleClickSourceControlButtons: (index: number, name: string) => Promise<void>;
208
217
  declare const update$1: () => Promise<void>;
209
218
  declare const closeMenu: () => Promise<void>;
210
219
  declare const focus$2: () => Promise<void>;
@@ -254,7 +263,7 @@ declare namespace EditorCompletion {
254
263
  export { selectCurrentIndex, selectIndex };
255
264
  }
256
265
  declare namespace Explorer {
257
- export { acceptEdit, cancelEdit, clickCurrent, expandAll, expandRecursively, focus$1 as focus, focusFirst$1 as focusFirst, focusIndex, focusLast$1 as focusLast, focusNext$2 as focusNext, handleArrowLeft, handleClick$1 as handleClick, handleDragLeave, handleDragOver, handleDrop, newFile, newFolder, openContextMenu$1 as openContextMenu, refresh, removeDirent, rename$1 as rename, renameDirent, updateEditingValue };
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 };
258
267
  }
259
268
  declare namespace Extension {
260
269
  export { addNodeExtension, addWebExtension };
@@ -293,7 +302,7 @@ declare namespace Problems {
293
302
  export { show$1 as show };
294
303
  }
295
304
  declare namespace QuickPick {
296
- export { executeCommand, focusFirst$5 as focusFirst, focusIndex$1 as focusIndex, focusLast$5 as focusLast, focusNext$7 as focusNext, focusPrevious$5 as focusPrevious, 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 };
305
+ 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 };
297
306
  }
298
307
  declare namespace Search {
299
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 };
@@ -305,7 +314,7 @@ declare namespace SideBar {
305
314
  export { hide, open$4 as open };
306
315
  }
307
316
  declare namespace SourceControl {
308
- export { acceptInput, handleInput$2 as handleInput };
317
+ export { acceptInput, handleClickSourceControlButtons, handleInput$2 as handleInput, selectIndex$4 as selectIndex };
309
318
  }
310
319
  declare namespace StatusBar {
311
320
  export { update$1 as update };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-with-playwright",
3
- "version": "2.15.0",
3
+ "version": "2.17.0",
4
4
  "description": "",
5
5
  "main": "src/main.js",
6
6
  "type": "module",
@@ -19,7 +19,7 @@
19
19
  "@lvce-editor/json-rpc": "^5.4.0",
20
20
  "@lvce-editor/verror": "^1.6.0",
21
21
  "minimist": "^1.2.8",
22
- "@lvce-editor/test-with-playwright-worker": "2.15.0"
22
+ "@lvce-editor/test-with-playwright-worker": "2.17.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/jest": "^29.5.14",