Skip to content

Commit

Permalink
modified the death report test
Browse files Browse the repository at this point in the history
  • Loading branch information
nihal467 committed Jan 19, 2024
1 parent 3309265 commit 2a8c494
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cypress/e2e/death_report_spec/death_report.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ describe("Death Report", () => {
beforeEach(() => {
cy.restoreLocalStorage();
cy.clearLocalStorage(/filters--.+/);
cy.awaitUrl("/");
cy.awaitUrl("/patients");
cy.intercept("**/api/v1/patient/**").as("getPatients");
cy.get("#facility-patients").contains("Patients").click({ force: true });
cy.url().should("include", "/patients");
cy.wait("@getPatients").get("a[data-cy=patient]").first().click();
cy.url().then((url) => {
Expand Down

0 comments on commit 2a8c494

Please sign in to comment.