@lvce-editor/test-with-playwright 2.9.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 +5 -4
  2. package/package.json +2 -2
package/api.d.ts CHANGED
@@ -85,7 +85,7 @@ 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
91
  declare const selectFeature: (name: string) => Promise<void>;
@@ -102,7 +102,7 @@ declare const createExecutableFrom: (path: string) => Promise<string>;
102
102
  declare const focusNext$3: () => Promise<void>;
103
103
  declare const setValue: (value: string) => Promise<void>;
104
104
  declare const setIconTheme: (id: string) => Promise<void>;
105
- declare const open$1: () => never;
105
+ declare const open$1: () => Promise<void>;
106
106
  declare const handleInput: (value: string) => Promise<void>;
107
107
  declare const handleClick$2: (x: number, y: number) => Promise<void>;
108
108
  declare const handleWheel: (deltaMode: number, deltaY: number) => Promise<void>;
@@ -115,6 +115,7 @@ declare const handleContextMenu$1: (button: number, x: number, y: number) => Pro
115
115
  declare const press: (key: string) => Promise<void>;
116
116
  declare const openUri: (uri: string) => Promise<void>;
117
117
  declare const splitRight: () => Promise<void>;
118
+ declare const openKeyBindings: () => Promise<void>;
118
119
  declare const open$2: (id: string) => Promise<void>;
119
120
  declare const getNodePath: () => Promise<string>;
120
121
  declare const isFirefox: () => boolean;
@@ -219,7 +220,7 @@ declare namespace KeyBoard {
219
220
  export { press };
220
221
  }
221
222
  declare namespace Main {
222
- export { openUri, splitRight };
223
+ export { openKeyBindings, openUri, splitRight };
223
224
  }
224
225
  declare namespace Panel {
225
226
  export { open$2 as open };
@@ -284,7 +285,7 @@ export interface TestApi {
284
285
  readonly WebView: typeof WebView,
285
286
  readonly Workspace: typeof Workspace,
286
287
  readonly expect: any
287
- readonly Locator: (selector: string) => any
288
+ readonly Locator: (selector: string, options?: any) => any
288
289
  }
289
290
 
290
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.9.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.9.0"
22
+ "@lvce-editor/test-with-playwright-worker": "2.10.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/jest": "^29.5.12",