From 2d9b1c6bc0cc712cc2c19cff1af1d9c073c78928 Mon Sep 17 00:00:00 2001 From: mattwrightva <107576133+mattwrightva@users.noreply.github.com> Date: Wed, 18 Dec 2024 12:30:12 -0700 Subject: [PATCH] MHV-64949: Opt in out buttons content fixed (#33646) * MHV-64949: Opt in out buttons content fixed * MHV-64949: Cypress test fixed --- .../mhv-medical-records/containers/SettingsPage.jsx | 6 ++---- .../mhv-medical-records/tests/e2e/pages/SettingsPage.js | 8 ++++++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/applications/mhv-medical-records/containers/SettingsPage.jsx b/src/applications/mhv-medical-records/containers/SettingsPage.jsx index e0ee375c01cd..eb82ecc5d746 100644 --- a/src/applications/mhv-medical-records/containers/SettingsPage.jsx +++ b/src/applications/mhv-medical-records/containers/SettingsPage.jsx @@ -165,10 +165,8 @@ const SettingsPage = () => { const title = `Opt ${ isSharing ? 'out of' : 'back in to' } sharing your electronic health information?`; - const primaryButtonText = isSharing ? 'Yes, opt out' : 'Yes, opt in'; - const secondaryButtonText = isSharing - ? "No, don't opt out" - : "No, don't opt in"; + const primaryButtonText = isSharing ? 'Opt out' : 'Opt in'; + const secondaryButtonText = isSharing ? "Don't opt out" : "Don't opt in"; return (