Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “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? Sign in to your account

Update Project By Project ID With Test Model ID Boolean True causes the Test Model ID to revert to 1 #427

Open
1 task done
imda-benedictlee opened this issue Feb 20, 2025 · 0 comments
Assignees
Labels
api API Testing frontend-apigw frontend api gateway Normal Defect Defect Severity: Normal SIT SIT Environment

Comments

@imda-benedictlee
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Description

Update Project By Project ID With Test Model ID Boolean True causes the Test Model ID to revert to 1

Image

Current Behavior

Update Project By Project ID With Test Model ID Boolean True causes the Test Model ID to revert to 1. This causes it to use the Test Model ID "1" instead of rejecting the API Requests.

Expected Behavior

Update Project API should reject the Update API Request when the Test Model ID is true.

Steps To Reproduce

Data Object:

{ "globalVars": [ { "key": "test", "value": "string" } ], "pages": [], "projectInfo": { "company": "Company ABC", "description": "My Test Project Description", "name": "My Test Project", "reportTitle": "My Report Title" }, "testModelId": true, "inputBlocks": [1], "testResults": [2] }

Use Update Project API with the above Object.

Environment

- Operating System and Version:
- AI Verify Version:
- Any other relevant information (e.g. version of related package dependencies installed):

Did you build using source code or from docker file? If from source code, please provide the below information:
- Python Version:
- Node Version:
- Redis Version:
- Mongo Version: 
- Screen Resolution:

Screenshots/ Code snippets

No response

Additional Context

No response

Possible Solution (Optional)

No response

@imda-benedictlee imda-benedictlee added api API Testing frontend-apigw frontend api gateway Normal Defect Defect Severity: Normal SIT SIT Environment labels Feb 20, 2025
@imda-benedictlee imda-benedictlee moved this to Backlog in AI Verify 2.0 Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api API Testing frontend-apigw frontend api gateway Normal Defect Defect Severity: Normal SIT SIT Environment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants