Uploaded image for project: 'Application Testing'
  1. Application Testing
  2. APPTEST-39

Test case: Edit /Retire a new concept drug

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Complexity:
      Low

      Description

      Scenario: Edit a new concept drug

      Given that I login to the openmrs application
      Given I navigate to the administration page
      And choose to manage concept drugs
      And choose to edit a concept drug
      And I change Name, concept, combination, dose strength, units, maximum dose and minimum dose
      And save the concept drug
      Then the changes to the drug should be saved

      Scenario: Retire a new concept drug

      Given that I login to the openmrs application
      Given I navigate to the administration page
      And choose to manage concept drugs
      And choose to edit a concept drug
      And provide a retire reason
      And retire the concept drug
      Then the concept drug should get retired

      The retiring and unretiring tests should be put together in the same story to ensure that the tests don't fail on a rerun. Ensure that the assertions in test are well written to be certain that they achieve the expected behaviour , i.e before retiring, assert that the object is actually not retired and vice versa

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                asgoyal Ankur Goyal [X] (Inactive)
                Reporter:
                prateekkhatri Prateek Khatri [X] (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: