@opentap/runner-client 1.0.0-beta.78 → 1.0.0-beta.79
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/lib/SessionClient.d.ts +5 -0
- package/lib/SessionClient.js +7 -0
- package/package.json +1 -1
package/lib/SessionClient.d.ts
CHANGED
|
@@ -128,6 +128,11 @@ export declare class SessionClient extends BaseClient {
|
|
|
128
128
|
* @return Test plan changed
|
|
129
129
|
*/
|
|
130
130
|
setTestPlan(plan: TestPlan): Promise<TestPlan>;
|
|
131
|
+
/**
|
|
132
|
+
* Set the name of the test plan
|
|
133
|
+
* @param {string} testPlanName
|
|
134
|
+
*/
|
|
135
|
+
SetTestPlanName(testPlanName: string): Promise<void>;
|
|
131
136
|
/**
|
|
132
137
|
* Retrieve all validation errors present in the test plan
|
|
133
138
|
* @return Retrieved validation errors for loaded TestPlan
|
package/lib/SessionClient.js
CHANGED
|
@@ -253,6 +253,13 @@ var SessionClient = /** @class */ (function (_super) {
|
|
|
253
253
|
SessionClient.prototype.setTestPlan = function (plan) {
|
|
254
254
|
return this.request('SetTestPlan', plan).then(this.success()).catch(this.error());
|
|
255
255
|
};
|
|
256
|
+
/**
|
|
257
|
+
* Set the name of the test plan
|
|
258
|
+
* @param {string} testPlanName
|
|
259
|
+
*/
|
|
260
|
+
SessionClient.prototype.SetTestPlanName = function (testPlanName) {
|
|
261
|
+
return this.request('SetTestPlanName', testPlanName).then(this.success()).catch(this.error());
|
|
262
|
+
};
|
|
256
263
|
/**
|
|
257
264
|
* Retrieve all validation errors present in the test plan
|
|
258
265
|
* @return Retrieved validation errors for loaded TestPlan
|