@lvce-editor/test-with-playwright 2.13.0 → 2.15.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 +9 -2
- package/package.json +3 -3
package/api.d.ts
CHANGED
|
@@ -81,8 +81,10 @@ 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
85
|
declare const focus$1: () => Promise<void>;
|
|
85
86
|
declare const focusNext$2: () => Promise<void>;
|
|
87
|
+
declare const refresh: () => Promise<void>;
|
|
86
88
|
declare const focusIndex: (index: number) => Promise<void>;
|
|
87
89
|
declare const clickCurrent: () => Promise<void>;
|
|
88
90
|
declare const handleArrowLeft: () => Promise<void>;
|
|
@@ -91,12 +93,16 @@ declare const focusFirst$1: () => Promise<void>;
|
|
|
91
93
|
declare const removeDirent: () => Promise<void>;
|
|
92
94
|
declare const expandRecursively: () => Promise<void>;
|
|
93
95
|
declare const newFile: () => Promise<void>;
|
|
96
|
+
declare const newFolder: () => Promise<void>;
|
|
94
97
|
declare const handleClick$1: (index: number) => Promise<void>;
|
|
98
|
+
declare const handleDrop: (x: number, y: number, fileIds: readonly number[], fileList: FileList | readonly File[]) => Promise<void>;
|
|
95
99
|
declare const rename$1: () => Promise<void>;
|
|
100
|
+
declare const renameDirent: () => Promise<void>;
|
|
96
101
|
declare const cancelEdit: () => Promise<void>;
|
|
97
102
|
declare const acceptEdit: () => Promise<void>;
|
|
98
103
|
declare const updateEditingValue: (value: string) => Promise<void>;
|
|
99
104
|
declare const expandAll: () => Promise<void>;
|
|
105
|
+
declare const handleDragOver: (x: number, y: number) => Promise<void>;
|
|
100
106
|
declare const addWebExtension: (relativePath: string) => Promise<void>;
|
|
101
107
|
declare const addNodeExtension: (relativePath: string) => Promise<void>;
|
|
102
108
|
declare const selectFeature: (name: string) => Promise<void>;
|
|
@@ -104,6 +110,7 @@ declare const selectTab: (name: string) => Promise<void>;
|
|
|
104
110
|
declare const open: (extensionId: string) => Promise<void>;
|
|
105
111
|
declare const writeFile: (path: string, content: string) => Promise<void>;
|
|
106
112
|
declare const mkdir: (path: string) => Promise<void>;
|
|
113
|
+
declare const remove: (uri: string) => Promise<void>;
|
|
107
114
|
declare const getTmpDir: ({ scheme }?: {
|
|
108
115
|
readonly scheme?: string;
|
|
109
116
|
}) => Promise<string>;
|
|
@@ -247,7 +254,7 @@ declare namespace EditorCompletion {
|
|
|
247
254
|
export { selectCurrentIndex, selectIndex };
|
|
248
255
|
}
|
|
249
256
|
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 };
|
|
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 };
|
|
251
258
|
}
|
|
252
259
|
declare namespace Extension {
|
|
253
260
|
export { addNodeExtension, addWebExtension };
|
|
@@ -256,7 +263,7 @@ declare namespace ExtensionDetail {
|
|
|
256
263
|
export { open, selectFeature, selectTab };
|
|
257
264
|
}
|
|
258
265
|
declare namespace FileSystem {
|
|
259
|
-
export { chmod, createExecutable, createExecutableFrom, getTmpDir, mkdir, writeFile };
|
|
266
|
+
export { chmod, createExecutable, createExecutableFrom, getTmpDir, mkdir, remove, writeFile };
|
|
260
267
|
}
|
|
261
268
|
declare namespace FindWidget {
|
|
262
269
|
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.
|
|
3
|
+
"version": "2.15.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.
|
|
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.
|
|
22
|
+
"@lvce-editor/test-with-playwright-worker": "2.15.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/jest": "^29.5.14",
|