You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor the existing facility export by combining two existing tests and adding test for verifying sidebar collapse functionality
General Instruction
Use all reusable functions from the commands.ts file and other existing tests.
To understand if a custom function used in other existing tests exists, search using their element ID in the codebase.
Use the POM approach; refer to the Patient_Spec folder for guidance.
Add necessary API verifications and verify notifications and text to avoid flaky tests.
Add the test file to FacilityHomepage.cy.ts and the related function in the facilityHome.ts file
Task - 1: Add new test for sidebar collapse
Once the homepage loads, verify that all sidebar icons with their corresponding text are visible.
Next, collapse the sidebar and confirm that only the icons are visible.
now again expand the sidebar and verify all the sidebar icon with their corresponding text are visible
Task - 2: Refactor the existing cypress facility export
Remove the "Verify Capacity Export Functionality" test, and incorporate those test lines into the existing "Verify Facility Export Functionality" test.
Add API verification for the capacity export test as well.
The text was updated successfully, but these errors were encountered:
Description
General Instruction
Task - 1: Add new test for sidebar collapse
Task - 2: Refactor the existing cypress facility export
The text was updated successfully, but these errors were encountered: