Uploaded image for project: 'Xray for Jira Cloud'
  1. Xray for Jira Cloud
  2. XRAYCLOUD-6971

Missing Test Step attachments, while we create a Test with Graphql mutation multiple times.

    XporterXMLWordPrintable

Details

    • XRAYCLOUD 2024 Sprint 5, XRAYCLOUD 2024 Sprint 6
    • NOTRUN

    Description

      Description
      If we create a Test by using Graphql Mutation, the Test Step attachments are sometimes missing.

      Pre-conditions

      How to reproduce

      1. Execute the following Graphql query multiple times:
      2. 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

          Activity

            People

              Unassigned Unassigned
              jayanthi.murthi Jayanthi Murthi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: