Uploaded image for project: 'mod-orders'
  1. mod-orders
  2. MODORDERS-140

Make API tests Environment Independent

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Labels:
      None
    • Template:
    • Sprint:
      ACQ Sprint 56
    • Story Points:
      1
    • Development Team:
      Thunderjet

      Description

      The API tests pull data from test data in the mod-orders GIT hub project.
      mod-orders has a business logic which prevents creating po lines greater than the specified limit.
      The API tests are failing in the environment which have this limit set to 1

      The tests should either explicitly set the limit and restore it to its original value after, or should retrieve the limit and act accordingly, e.g. assertions should have hard coded expected values that should be based on this setting.

      Acceptance Criteria

      • The API tests must be able to handle above scenario
      • API tests should be environment independent - i.e. shouldn't depend on any pre-existing data

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                cmcnally Craig McNally
                Reporter:
                KVupp Kruthi Vuppala
                Tester Assignee:
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases