You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(testmanagement): apply case_type on createTestCase
createTestCase never accepted case_type as an input, so values passed by
clients were silently dropped and the project default ("Other") was
applied. Add case_type to the schema and normalize it alongside priority
via a single form-fields lookup, matching updateTestCase behavior.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
"Priority of the test case. Accepts either display name (e.g. 'Critical', 'High', 'Medium', 'Low') or internal name (e.g. 'medium'). If omitted, the project default (usually 'Medium') is applied. Valid values are per-project and discoverable via the form-fields endpoint.",
160
161
),
162
+
case_type: z
163
+
.string()
164
+
.optional()
165
+
.describe(
166
+
"Test case type. Accepts either display name (e.g. 'Functional', 'Regression', 'Smoke & Sanity') or internal name (e.g. 'functional', 'smoke_sanity'). If omitted, the project default (usually 'Other') is applied. Valid values are per-project.",
167
+
),
161
168
template: z
162
169
.string()
163
170
.optional()
@@ -197,33 +204,45 @@ export function sanitizeArgs(args: any) {
0 commit comments