Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2737

Testing on Project level fails if project was cloned via git/clone REST API removed and cloned again

    XMLWordPrintable

    Details

    • Target Release:
    • Steps to Reproduce:
      Hide

      1. Download and unzip it to path
      2. Make sure that there is repository by

       git status 

      3. Prepare business central runnng with certain credentionals and run it
      4. Create space BPMS and call shell script to clone a project

      curl -X POST     \
                    -u '_credentionals_' \
                    -H "content-type: application/json" \
                    "http://127.0.0.1:8080/business-central/rest/spaces/bpms/git/clone" \
                    -d '{
        "name": "Traffic",
        "gitURL": "file://_path_"
      }'
      

      5. Remove space bpms
      6. Repeat step 4
      5. Go to Business central and open the project Traffic of bpms so to view the list of asserts
      6. Press "Test"

      Expected tests are executed
      Actual []

      Show
      1. Download and unzip it to path 2. Make sure that there is repository by git status 3. Prepare business central runnng with certain credentionals and run it 4. Create space BPMS and call shell script to clone a project curl -X POST \ -u '_credentionals_' \ -H "content-type: application/json" \ "http: //127.0.0.1:8080/business-central/ rest /spaces/bpms/git/clone" \ -d '{ "name" : "Traffic" , "gitURL" : "file: //_path_" }' 5. Remove space bpms 6. Repeat step 4 5. Go to Business central and open the project Traffic of bpms so to view the list of asserts 6. Press "Test" Expected tests are executed Actual []
    • Affects:
      User Experience
    • Sprint:
      2020 Week 37-39 (from Sep 7)

      Description

      If user clones project by REST API call like [1] and go for the cloned project then if he/she try to test it first then the System Error appear [2].

      [1]

      curl -X POST     \
                    -u 'testadmin:admin1234;' \
                    -H "content-type: application/json" \
                    "http://127.0.0.1:8080/business-central/rest/spaces/bpms/git/clone" \
                    -d '{
        "name": "Traffic",
        "gitURL": "file:///home/adupliak/Documents/ngit/Traffic4222312160964203593/"
      }'
      

      [2]

      See https://issues.redhat.com/secure/attachment/12467269/inexing.webm

        Attachments

          Activity

            People

            Assignee:
            r_anand Rishiraj Anand
            Reporter:
            adupliak Anna Dupliak
            Tester:
            Anna Dupliak Anna Dupliak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: