-
Notifications
You must be signed in to change notification settings - Fork 6
Feat: Add Test Management Tools for Project, Folder, and Test Case Creation #8
New issue
Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “No Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? No Sign in to your account
base: main
Are you sure you want to change the base?
Feat: Add Test Management Tools for Project, Folder, and Test Case Creation #8
Conversation
…h test management tools
}, | ||
}, | ||
); | ||
return response.data; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
throw error if response.data.success is not true
src/tools/testmanagement.ts
Outdated
project_identifier: z | ||
.string() | ||
.describe( | ||
"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.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to reword this, can't understand.
let projId = project_identifier; | ||
|
||
// Step 1: Create project if project_name provided | ||
if (project_name) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what happens if project already exists.
…centralized function
createProjectOrFolder
).createTestCase
).