Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Fixed
-
None
-
None
-
XRAYCLOUD 2024 Sprint 5, XRAYCLOUD 2024 Sprint 6, XRAYCLOUD 2024 Sprint 8
-
Description
Description
If we create a Test by using Graphql Mutation, the Test Step attachments are sometimes missing.
Pre-conditions
How to reproduce
- Execute the following Graphql query multiple times:
mutation { createTest( testType:{name:"Manual"}, steps: [ {action:"Test Desc1",data:"Test Data1",result:"Test result1",attachments:[{filename:"1_DOC!#123.doc",mimeType:"octet-stream",data:"Z2V0IGZpbGUgY29udGVudCBoZXJl"}],customFields:[]}, {action:"Test Desc2",data:"Test Data2",result:"Test result2",attachments:[{filename:"2_DOC!#123.doc",mimeType:"application/octet-stream",data:"Z2V0IGZpbGUgY29udGVudCBoZXJl"}],customFields:[]} ], jira: {fields:{ summary:"Test Summary", project:{key:"SEC"} }} ) { test{issueId,projectId,testType{id,name,kind},steps{id,action,data,result,attachments{id,filename,downloadLink},customFields{id,name,value},callTestIssueId},unstructured,gherkin,folder{name,path},scenarioType,lastModified},warnings } }
Actual result/Attachments:
The created Tests misses the Test Step attachments sometimes.
Expected result
The created Tests should contain the Test Step attachments for all the Mutations
Version
- <app versions>
Attachments
Issue Links
- duplicates
-
XRAYCLOUD-7070 While creating Tests via Graphql API, randomly, Test issue created with only Jira specific entities and Xray data is missing
- Closed