@midscene/test 1.17.4 → 1.17.5

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.
@@ -91,7 +91,7 @@ declare interface MidsceneExecutionRef {
91
91
  }
92
92
 
93
93
  declare type MidsceneUIAgent = CommonAgentTestRunnerApi & {
94
- _prepareForTestRunner?(): void;
94
+ _prepareForTestRunner?(): void | Promise<void>;
95
95
  _createReportSource?(scopeId: string, executionIds?: readonly string[]): Promise<WorkflowReportSource | undefined>;
96
96
  flushReport?(): Promise<string | undefined>;
97
97
  addDumpUpdateListener?(listener: (dump: string, execution?: MidsceneExecutionRef) => void): () => void;
@@ -151,7 +151,7 @@ export declare interface MidsceneExecutionRef {
151
151
  }
152
152
 
153
153
  export declare type MidsceneUIAgent = CommonAgentTestRunnerApi & {
154
- _prepareForTestRunner?(): void;
154
+ _prepareForTestRunner?(): void | Promise<void>;
155
155
  _createReportSource?(scopeId: string, executionIds?: readonly string[]): Promise<WorkflowReportSource | undefined>;
156
156
  flushReport?(): Promise<string | undefined>;
157
157
  addDumpUpdateListener?(listener: (dump: string, execution?: MidsceneExecutionRef) => void): () => void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@midscene/test",
3
3
  "description": "Midscene Test: an extensible YAML testing framework and Node SDK.",
4
- "version": "1.17.4",
4
+ "version": "1.17.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/web-infra-dev/midscene.git",
@@ -59,8 +59,8 @@
59
59
  "tsx": "^4.19.2",
60
60
  "yargs": "17.7.3",
61
61
  "zod": "^3.25.1",
62
- "@midscene/core": "1.17.4",
63
- "@midscene/shared": "1.17.4"
62
+ "@midscene/core": "1.17.5",
63
+ "@midscene/shared": "1.17.5"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@rslib/core": "^0.18.3",
@@ -72,20 +72,20 @@
72
72
  "puppeteer": "24.6.0",
73
73
  "typescript": "^5.8.3",
74
74
  "vitest": "3.0.5",
75
- "@midscene/android": "1.17.4",
76
- "@midscene/computer": "1.17.4",
77
- "@midscene/ios": "1.17.4",
78
- "@midscene/harmony": "1.17.4",
79
- "@midscene/web": "1.17.4"
75
+ "@midscene/android": "1.17.5",
76
+ "@midscene/computer": "1.17.5",
77
+ "@midscene/ios": "1.17.5",
78
+ "@midscene/web": "1.17.5",
79
+ "@midscene/harmony": "1.17.5"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "playwright": "^1.45.0",
83
83
  "puppeteer": "24.6.0",
84
- "@midscene/android": "1.17.4",
85
- "@midscene/harmony": "1.17.4",
86
- "@midscene/ios": "1.17.4",
87
- "@midscene/computer": "1.17.4",
88
- "@midscene/web": "1.17.4"
84
+ "@midscene/android": "1.17.5",
85
+ "@midscene/computer": "1.17.5",
86
+ "@midscene/harmony": "1.17.5",
87
+ "@midscene/ios": "1.17.5",
88
+ "@midscene/web": "1.17.5"
89
89
  },
90
90
  "peerDependenciesMeta": {
91
91
  "@midscene/android": {