care_fe icon indicating copy to clipboard operation
care_fe copied to clipboard

Add a new cypress test for shifting request

Open nihal467 opened this issue 4 months ago • 4 comments

Description

Add a new cypress test for new shifting requests for a patient

General Note

Follow the Page Object Model (POM) approach. : reference Refer to commands.ts in the Cypress folder to understand existing reusable components. Use proper function names for easier code review. Since there's nothing related to shifting requests is currently present, create a new file named ShiftingRequest.cy.ts under the shifting_spec folder.

Steps to Assign a Shifting Request

  1. Go to the patient tab
  2. click on any live patient card
  3. On the patient consultation page, click on manage patients
  4. from the dropdown, select shift patient
  5. submit the shifting form and verify the card is present in the shifting board

Make sure to verify the below things

Ensure the normal workflow is functional. Edit the request form and verify the modification are reflected properly

nihal467 avatar Oct 24 '24 07:10 nihal467