Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor the Facility Export existing cypress test and Add New Sidebar collapse test along with it #9043

Closed
1 task
nihal467 opened this issue Nov 7, 2024 · 3 comments
Assignees
Labels
needs-triage question Further information is requested

Comments

@nihal467
Copy link
Member

nihal467 commented Nov 7, 2024

Description

  • 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

Image

  • 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.
@Alokih
Copy link

Alokih commented Nov 7, 2024

@nihal467 sir can I work on this issue ?

@JavidSumra
Copy link
Contributor

if no one working on this issue can you please assign it to me?

@github-actions github-actions bot added needs-triage question Further information is requested labels Dec 11, 2024
@nihal467 nihal467 removed question Further information is requested needs-triage labels Dec 11, 2024
@github-actions github-actions bot added the stale label Dec 26, 2024
@JavidSumra
Copy link
Contributor

@nihal467 I think now there is no need of task-2 right?

@github-actions github-actions bot added needs-triage question Further information is requested labels Dec 27, 2024
@Jacobjeevan Jacobjeevan closed this as not planned Won't fix, can't repro, duplicate, stale Dec 31, 2024
@Jacobjeevan Jacobjeevan added this to Care Dec 31, 2024
@github-project-automation github-project-automation bot moved this to Triage in Care Dec 31, 2024
@Jacobjeevan Jacobjeevan moved this from Triage to Done in Care Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment