@lvce-editor/test-with-playwright 2.13.0 → 2.14.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 +7 -2
  2. package/package.json +3 -3
package/api.d.ts CHANGED
@@ -83,6 +83,7 @@ declare const selectCurrentIndex: () => Promise<void>;
83
83
  declare const openContextMenu$1: (index: number) => Promise<void>;
84
84
  declare const focus$1: () => Promise<void>;
85
85
  declare const focusNext$2: () => Promise<void>;
86
+ declare const refresh: () => Promise<void>;
86
87
  declare const focusIndex: (index: number) => Promise<void>;
87
88
  declare const clickCurrent: () => Promise<void>;
88
89
  declare const handleArrowLeft: () => Promise<void>;
@@ -91,8 +92,11 @@ declare const focusFirst$1: () => Promise<void>;
91
92
  declare const removeDirent: () => Promise<void>;
92
93
  declare const expandRecursively: () => Promise<void>;
93
94
  declare const newFile: () => Promise<void>;
95
+ declare const newFolder: () => Promise<void>;
94
96
  declare const handleClick$1: (index: number) => Promise<void>;
97
+ declare const handleDrop: (x: number, y: number, fileIds: readonly number[], fileList: FileList | readonly File[]) => Promise<void>;
95
98
  declare const rename$1: () => Promise<void>;
99
+ declare const renameDirent: () => Promise<void>;
96
100
  declare const cancelEdit: () => Promise<void>;
97
101
  declare const acceptEdit: () => Promise<void>;
98
102
  declare const updateEditingValue: (value: string) => Promise<void>;
@@ -104,6 +108,7 @@ declare const selectTab: (name: string) => Promise<void>;
104
108
  declare const open: (extensionId: string) => Promise<void>;
105
109
  declare const writeFile: (path: string, content: string) => Promise<void>;
106
110
  declare const mkdir: (path: string) => Promise<void>;
111
+ declare const remove: (uri: string) => Promise<void>;
107
112
  declare const getTmpDir: ({ scheme }?: {
108
113
  readonly scheme?: string;
109
114
  }) => Promise<string>;
@@ -247,7 +252,7 @@ declare namespace EditorCompletion {
247
252
  export { selectCurrentIndex, selectIndex };
248
253
  }
249
254
  declare namespace Explorer {
250
- 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, newFile, openContextMenu$1 as openContextMenu, removeDirent, rename$1 as rename, updateEditingValue };
255
+ 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, handleDrop, newFile, newFolder, openContextMenu$1 as openContextMenu, refresh, removeDirent, rename$1 as rename, renameDirent, updateEditingValue };
251
256
  }
252
257
  declare namespace Extension {
253
258
  export { addNodeExtension, addWebExtension };
@@ -256,7 +261,7 @@ declare namespace ExtensionDetail {
256
261
  export { open, selectFeature, selectTab };
257
262
  }
258
263
  declare namespace FileSystem {
259
- export { chmod, createExecutable, createExecutableFrom, getTmpDir, mkdir, writeFile };
264
+ export { chmod, createExecutable, createExecutableFrom, getTmpDir, mkdir, remove, writeFile };
260
265
  }
261
266
  declare namespace FindWidget {
262
267
  export { focusNext$3 as focusNext, setValue };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-with-playwright",
3
- "version": "2.13.0",
3
+ "version": "2.14.0",
4
4
  "description": "",
5
5
  "main": "src/main.js",
6
6
  "type": "module",
@@ -15,11 +15,11 @@
15
15
  "dependencies": {
16
16
  "@lvce-editor/assert": "^1.3.0",
17
17
  "@lvce-editor/command": "^1.2.0",
18
- "@lvce-editor/ipc": "^13.7.0",
18
+ "@lvce-editor/ipc": "^13.8.0",
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.13.0"
22
+ "@lvce-editor/test-with-playwright-worker": "2.14.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/jest": "^29.5.14",