@lvce-editor/test-with-playwright 2.8.0 → 2.10.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 +25 -17
  2. package/package.json +2 -2
package/api.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  // Generated by dts-bundle-generator v9.5.1
2
2
 
3
- declare const show: () => Promise<any>;
4
- declare const handleClickOk: () => Promise<any>;
5
- declare const handleClickClose: () => Promise<any>;
6
- declare const handleClickCopy: () => Promise<any>;
7
- declare const focusNext: () => Promise<any>;
8
- declare const focusPrevious: () => Promise<any>;
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
9
  declare const focus: () => Promise<void>;
10
10
  declare const focusFirst: () => Promise<void>;
11
11
  declare const focusLast: () => Promise<void>;
@@ -85,9 +85,12 @@ declare const rename$1: () => Promise<void>;
85
85
  declare const cancelEdit: () => Promise<void>;
86
86
  declare const acceptEdit: () => Promise<void>;
87
87
  declare const updateEditingValue: (value: string) => Promise<void>;
88
- declare const expandAll: (value: string) => Promise<void>;
88
+ declare const expandAll: () => Promise<void>;
89
89
  declare const addWebExtension: (relativePath: string) => Promise<void>;
90
90
  declare const addNodeExtension: (relativePath: string) => Promise<void>;
91
+ declare const selectFeature: (name: string) => Promise<void>;
92
+ declare const selectTab: (name: string) => Promise<void>;
93
+ declare const open: (extensionId: string) => Promise<void>;
91
94
  declare const writeFile: (path: string, content: string) => Promise<void>;
92
95
  declare const mkdir: (path: string) => Promise<void>;
93
96
  declare const getTmpDir: ({ scheme }?: {
@@ -99,7 +102,7 @@ declare const createExecutableFrom: (path: string) => Promise<string>;
99
102
  declare const focusNext$3: () => Promise<void>;
100
103
  declare const setValue: (value: string) => Promise<void>;
101
104
  declare const setIconTheme: (id: string) => Promise<void>;
102
- declare const open: () => never;
105
+ declare const open$1: () => Promise<void>;
103
106
  declare const handleInput: (value: string) => Promise<void>;
104
107
  declare const handleClick$2: (x: number, y: number) => Promise<void>;
105
108
  declare const handleWheel: (deltaMode: number, deltaY: number) => Promise<void>;
@@ -112,11 +115,12 @@ declare const handleContextMenu$1: (button: number, x: number, y: number) => Pro
112
115
  declare const press: (key: string) => Promise<void>;
113
116
  declare const openUri: (uri: string) => Promise<void>;
114
117
  declare const splitRight: () => Promise<void>;
115
- declare const open$1: (id: string) => Promise<void>;
118
+ declare const openKeyBindings: () => Promise<void>;
119
+ declare const open$2: (id: string) => Promise<void>;
116
120
  declare const getNodePath: () => Promise<string>;
117
121
  declare const isFirefox: () => boolean;
118
122
  declare const show$1: () => Promise<void>;
119
- declare const open$2: () => Promise<void>;
123
+ declare const open$3: () => Promise<void>;
120
124
  declare const setValue$1: (value: string) => Promise<void>;
121
125
  declare const focusNext$5: () => Promise<void>;
122
126
  declare const focusIndex$1: (index: number) => Promise<void>;
@@ -145,7 +149,7 @@ declare const togglePreserveCase: () => Promise<void>;
145
149
  declare const toggleUseRegularExpression: () => Promise<void>;
146
150
  declare const toggleReplace: () => Promise<void>;
147
151
  declare const update: (settings: any) => Promise<void>;
148
- declare const open$3: (id: string) => Promise<void>;
152
+ declare const open$4: (id: string) => Promise<void>;
149
153
  declare const hide: () => Promise<void>;
150
154
  declare const acceptInput: () => Promise<void>;
151
155
  declare const handleInput$1: (text: string) => Promise<void>;
@@ -197,6 +201,9 @@ declare namespace Explorer {
197
201
  declare namespace Extension {
198
202
  export { addNodeExtension, addWebExtension };
199
203
  }
204
+ declare namespace ExtensionDetail {
205
+ export { open, selectFeature, selectTab };
206
+ }
200
207
  declare namespace FileSystem {
201
208
  export { chmod, createExecutable, createExecutableFrom, getTmpDir, mkdir, writeFile };
202
209
  }
@@ -207,16 +214,16 @@ declare namespace IconTheme {
207
214
  export { setIconTheme };
208
215
  }
209
216
  declare namespace KeyBindingsEditor {
210
- export { focusFirst$2 as focusFirst, focusLast$2 as focusLast, focusNext$4 as focusNext, focusPrevious$2 as focusPrevious, handleClick$2 as handleClick, handleContextMenu$1 as handleContextMenu, handleDoubleClick, handleInput, handleWheel, open };
217
+ export { focusFirst$2 as focusFirst, focusLast$2 as focusLast, focusNext$4 as focusNext, focusPrevious$2 as focusPrevious, handleClick$2 as handleClick, handleContextMenu$1 as handleContextMenu, handleDoubleClick, handleInput, handleWheel, open$1 as open };
211
218
  }
212
219
  declare namespace KeyBoard {
213
220
  export { press };
214
221
  }
215
222
  declare namespace Main {
216
- export { openUri, splitRight };
223
+ export { openKeyBindings, openUri, splitRight };
217
224
  }
218
225
  declare namespace Panel {
219
- export { open$1 as open };
226
+ export { open$2 as open };
220
227
  }
221
228
  declare namespace Platform {
222
229
  export { getNodePath, isFirefox };
@@ -225,7 +232,7 @@ declare namespace Problems {
225
232
  export { show$1 as show };
226
233
  }
227
234
  declare namespace QuickPick {
228
- export { executeCommand, focusIndex$1 as focusIndex, focusNext$5 as focusNext, focusPrevious$3 as focusPrevious, open$2 as open, selectItem$1 as selectItem, setValue$1 as setValue };
235
+ export { executeCommand, focusIndex$1 as focusIndex, focusNext$5 as focusNext, focusPrevious$3 as focusPrevious, open$3 as open, selectItem$1 as selectItem, setValue$1 as setValue };
229
236
  }
230
237
  declare namespace Search {
231
238
  export { clearSearchResults, dismissItem, focusFirst$3 as focusFirst, focusIndex$2 as focusIndex, focusNext$6 as focusNext, focusNextPage, focusPrevious$4 as focusPrevious, focusPreviousPage, handleWheel$1 as handleWheel, replaceAll, selectIndex, setExcludeValue, setIncludeValue, setReplaceValue, setValue$2 as setValue, toggleMatchCase, toggleMatchWholeWord, togglePreserveCase, toggleReplace, toggleSearchDetails, toggleUseRegularExpression };
@@ -234,7 +241,7 @@ declare namespace Settings {
234
241
  export { update };
235
242
  }
236
243
  declare namespace SideBar {
237
- export { hide, open$3 as open };
244
+ export { hide, open$4 as open };
238
245
  }
239
246
  declare namespace SourceControl {
240
247
  export { acceptInput, handleInput$1 as handleInput };
@@ -258,6 +265,7 @@ export interface TestApi {
258
265
  readonly Editor: typeof Editor,
259
266
  readonly Explorer: typeof Explorer,
260
267
  readonly Extension: typeof Extension,
268
+ readonly ExtensionDetail: typeof ExtensionDetail,
261
269
  readonly FileSystem: typeof FileSystem,
262
270
  readonly FindWidget: typeof FindWidget,
263
271
  readonly IconTheme: typeof IconTheme,
@@ -277,7 +285,7 @@ export interface TestApi {
277
285
  readonly WebView: typeof WebView,
278
286
  readonly Workspace: typeof Workspace,
279
287
  readonly expect: any
280
- readonly Locator: (selector: string) => any
288
+ readonly Locator: (selector: string, options?: any) => any
281
289
  }
282
290
 
283
291
  export interface Test {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-with-playwright",
3
- "version": "2.8.0",
3
+ "version": "2.10.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.8.0"
22
+ "@lvce-editor/test-with-playwright-worker": "2.10.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/jest": "^29.5.12",