@lvce-editor/test-with-playwright 2.7.0 → 2.8.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 -1
  2. package/package.json +2 -2
package/api.d.ts CHANGED
@@ -249,7 +249,7 @@ declare namespace WebView {
249
249
  export { fromId };
250
250
  }
251
251
 
252
- export interface Test {
252
+ export interface TestApi {
253
253
  readonly About: typeof About,
254
254
  readonly ActivityBar: typeof ActivityBar,
255
255
  readonly BaseUrl: typeof BaseUrl,
@@ -280,3 +280,7 @@ export interface Test {
280
280
  readonly Locator: (selector: string) => any
281
281
  }
282
282
 
283
+ export interface Test {
284
+ (api: TestApi): Promise<void>
285
+ }
286
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-with-playwright",
3
- "version": "2.7.0",
3
+ "version": "2.8.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.7.0"
22
+ "@lvce-editor/test-with-playwright-worker": "2.8.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/jest": "^29.5.12",