Details
-
Bug
-
Status: In Progress
-
Medium
-
Resolution: Unresolved
-
Xray Cloud - v4.9.2
-
XRAYCLOUD 2024 Sprint 16
-
Description
Description:
Update Test Run custom field via API fails when Test Types are not present in the project of the Test Execution.
Pre-conditions:
- Create two projects - 1. For Test, 2. For Test Execution
- Create a Test of a specific Test Type in the Test project(Say Manual)
- Go to the Test Execution project, remove the Test Type in this project(Remove Manual TestType in Test Execution project)
- Create a Test Run with a Test from the Test project and Test Execution from Test Execution project
- Create a TestRun Custom field in the Test Execution project and get it's id
- Get the testRun id by using Graphql
How to reproduce
- Using updateTestRun mutation update the Test Run Custom field
mutation { updateTestRun( id: "6737376e44488f62e010ebcc", customFields: [ {id:"67224f8a20d4040d5f168877", value: ["list"]}]) { warnings }}
Actual result/Attachments:
The update fails with the error: "Invalid custom field with id 67224f8a20d4040d5f168877."
Expected result
Should update the Test Run custom field
Version
- Xray Cloud - 4.9.2