diff --git a/cypress/e2e/death_report_spec/death_report.cy.ts b/cypress/e2e/death_report_spec/death_report.cy.ts index c051e1ee776..846c31f7a90 100644 --- a/cypress/e2e/death_report_spec/death_report.cy.ts +++ b/cypress/e2e/death_report_spec/death_report.cy.ts @@ -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) => { diff --git a/netlify.toml b/netlify.toml index f23b951ff21..a98fd0f5352 100644 --- a/netlify.toml +++ b/netlify.toml @@ -21,6 +21,6 @@ status = 200 [[headers]] for = "/*" [headers.values] - cache-control = ''' - max-age=0, - no-store''' + cache-control = "max-age=0, no-store" + X-Frame-Options = "DENY" + X-Content-Type-Options = "nosniff"