Uploaded image for project: 'Folio Automation Testing'
  1. Folio Automation Testing
  2. FAT-926

API integration tests for mod-audit pass on snapshot/testing, but fail on autorun (temporary environment)

    XMLWordPrintable

Details

    • DevOps Sprint 127, DevOps Sprint 128, DevOps Sprint 129
    • 3
    • FOLIO DevOps

    Description

      Overview:

      Result of API karate integration tests should be the same on both of snapshot/testing and temporary environments.

      Steps to Reproduce:

      1. Run mod-audit API karate integration tests on testing or snapshot environment
      2. Run mod-audit API karate integration tests on autorun (temporary environment)
      3. Compare the results

      Expected Results:

      The same results (all tests should be passed)

      Actual Results:

      On autorun there are failed tests

      Additional Information:
      See attached screenshots (passed on snapshot and failed on autorun).

      See put_request_not_edited.txt file. This is a piece of full log from autorun (build #412). As you can see, request with id=eecd13c7-7d40-4b1e-8f77-b0b9d19b0011 already exists in circulation logs with action="Created". Next, using PUT circulation/requests/eecd13c7-7d40-4b1e-8f77-b0b9d19b0011 only the date of request is updated and next record in circulation/logs being added should have action="Edited". However, action="Created" and test fails.
      Interested parties:

      TestRail: Results

        Attachments

          1. checkinEventTestFailedOnAutorun.PNG
            24 kB
            Oleksandr Bozhko
          2. checkinEventTestPassedOnSnapshot.PNG
            10 kB
            Oleksandr Bozhko
          3. image-2021-11-05-20-31-31-950.png
            46 kB
            Hleb Surnovich
          4. image-2021-11-12-16-12-48-066.png
            43 kB
            Hleb Surnovich
          5. loanEventTestFailedOnAutorun.PNG
            23 kB
            Oleksandr Bozhko
          6. loanEventTestPassedOnSnapshot.PNG
            10 kB
            Oleksandr Bozhko
          7. put_request_not_edited.txt
            6 kB
            Oleksandr Bozhko
          8. requestEventTestFailedOnAutorun.PNG
            8 kB
            Oleksandr Bozhko
          9. requestEventTestPassedOnSnapshot.PNG
            10 kB
            Oleksandr Bozhko

          Issue Links

            Activity

              People

                hleb_surnovich Hleb Surnovich
                Oleksandr_Bozhko Oleksandr Bozhko
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases