@mablhq/playwright-tools 2.135.18 → 2.135.22
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/_bundled/@mablhq-internal/mobile-runtime/package.json +1 -1
- package/_bundled/@mablhq-internal/runtime/execution/index.js +1 -1
- package/_bundled/@mablhq-internal/runtime/package.json +1 -1
- package/_bundled/@mablhq-internal/runtime/trainer/generation/AgenticGenerationRunner.js +18 -0
- package/_bundled/@mablhq-internal/test-model/mabl-authoring/authoringGuideResources.d.ts.map +1 -1
- package/_bundled/@mablhq-internal/test-model/mabl-authoring/authoringGuideResources.js +6 -2
- package/_bundled/@mablhq-internal/test-model/validator/schemas/find-descriptors.d.ts +3 -0
- package/_bundled/@mablhq-internal/test-model/validator/schemas/find-descriptors.d.ts.map +1 -1
- package/_bundled/@mablhq-internal/test-model/validator/schemas/find-descriptors.js +9 -2
- package/_bundled/@mablhq-internal/test-model/validator/validation/semantic.d.ts.map +1 -1
- package/_bundled/@mablhq-internal/test-model/validator/validation/semantic.js +49 -0
- package/commands/link-agents/link-agents_cmds/start.js +7 -1
- package/execution/index.js +1 -1
- package/package.json +1 -1
- package/trainer/generation/AgenticGenerationRunner.js +18 -0
package/package.json
CHANGED
|
@@ -1265,7 +1265,25 @@ class AgenticGenerationRunner {
|
|
|
1265
1265
|
}
|
|
1266
1266
|
return result;
|
|
1267
1267
|
}
|
|
1268
|
+
userAuthoredObjective() {
|
|
1269
|
+
if (this.config.objectiveIsUserAuthored) {
|
|
1270
|
+
const locked = this.config.testIntent?.trim();
|
|
1271
|
+
if (locked) {
|
|
1272
|
+
return { summary: locked, source: mablApi_1.TestObjectiveSource.User };
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
const existing = this.config.existingTest?.objective;
|
|
1276
|
+
if (existing?.source === mablApi_1.TestObjectiveSource.User &&
|
|
1277
|
+
existing.summary?.trim()) {
|
|
1278
|
+
return existing;
|
|
1279
|
+
}
|
|
1280
|
+
return undefined;
|
|
1281
|
+
}
|
|
1268
1282
|
async resolveTestObjective(summaryStepList, testDescription) {
|
|
1283
|
+
const userAuthored = this.userAuthoredObjective();
|
|
1284
|
+
if (userAuthored) {
|
|
1285
|
+
return userAuthored;
|
|
1286
|
+
}
|
|
1269
1287
|
try {
|
|
1270
1288
|
const { summary } = await this.config.apiClient.generateTestSummary(this.config.workspaceId, { fullStepList: summaryStepList, description: testDescription });
|
|
1271
1289
|
const trimmed = summary?.trim();
|