Skip to content

Commit 6b94b3c

Browse files
Fix: Improve descriptions in CreateTestCaseSchema for clarity
1 parent acc680e commit 6b94b3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tools/testmanagement-utils/create-testcase.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ export const CreateTestCaseSchema = z.object({
5959
project_identifier: z
6060
.string()
6161
.describe(
62-
"The ID of the BrowserStack project in which to create the test case. Ask User if he want to create a new project if no project ID is provided using createProjectOrFolder tool.",
62+
"The ID of the BrowserStack project where the test case should be created. If no project ID is provided, ask the user if they would like to create a new project using the createProjectOrFolder tool.",
6363
),
6464
folder_id: z
6565
.string()
6666
.describe(
67-
"The ID of the folder under the project to create the test case in. If omitted, Ask user if he wants to create a new folder createProjectOrFolder tool.",
67+
"The ID of the folder within the project where the test case should be created. If not provided, ask the user if they would like to create a new folder using the createProjectOrFolder tool.",
6868
),
6969
name: z.string().describe("Name of the test case."),
7070
description: z
@@ -189,7 +189,7 @@ export async function createTestCase(
189189
},
190190
},
191191
);
192-
192+
193193
// Check if the response indicates success
194194
if (!response.data.data.success) {
195195
throw new Error(`Failed to create test case: ${JSON.stringify(response.data)}`);

0 commit comments

Comments
 (0)