+ Terms of Use +
+-
+ {termsOfUseContent.map((tou, index) => (
+
-
+
+ {tou.title} +
++ {tou.paragraphs} +
+
+ ))}
diff --git a/frontend/playwright-tests/internal_routes.ci.spec.ts b/frontend/playwright-tests/internal_routes.ci.spec.ts index 48c10b1667..6daac6e73a 100644 --- a/frontend/playwright-tests/internal_routes.ci.spec.ts +++ b/frontend/playwright-tests/internal_routes.ci.spec.ts @@ -46,11 +46,21 @@ test('About Us Page Loads', async ({ page }) => { expect(accessibilityScanResults.violations).toEqual([]) }) -test('Terms of Use Page Loads', async ({ page }) => { +test('Terms of Use Page Loads and Renders Correctly', async ({ page }) => { await page.goto('/termsofuse', { waitUntil: 'commit' }) - const mainSection = page.locator('main#main') - const mainHeading = mainSection.locator('h2#main') + const mainSection = page.locator('section#main-content') + await expect(mainSection).toBeVisible() + const mainHeading = mainSection.locator('h1#main') await expect(mainHeading).toHaveText('Terms of Use') + const termsList = mainSection.locator('ul') + await expect(termsList).toBeVisible() + const firstTerm = termsList.locator('li#tou-0') + const firstTermHeading = firstTerm.locator('h2') + await expect(firstTermHeading).toHaveText('Privacy Policy') + const firstTermParagraph = firstTerm.locator('p') + await expect(firstTermParagraph).toContainText( + 'The Health Equity Tracker (HET)', + ) const accessibilityScanResults = await new AxeBuilder({ page }).analyze() expect(accessibilityScanResults.violations).toEqual([]) }) diff --git a/frontend/src/pages/Landing/LandingPage.tsx b/frontend/src/pages/Landing/LandingPage.tsx index 6268ca44ad..51bea1d99e 100644 --- a/frontend/src/pages/Landing/LandingPage.tsx +++ b/frontend/src/pages/Landing/LandingPage.tsx @@ -116,8 +116,8 @@ function LandingPage() { alt='various charts from the health equity tracker' className='absolute top-0 right-0 bottom-0 z-0 float-right mx-24 max-w-4xl opacity-35 xs:opacity-15 sm:opacity-15 md:opacity-15' > -
- Morehouse School of Medicine’s (MSM) Health Equity Tracker (HET) - is committed to protecting your online privacy. The only - information MSM’s HET obtains about individual visitors to this - web site is information supplied voluntarily by the visitor. This - policy outlines the practices of MSM regarding the collection and - use of your personal information from your visit to our web site. -
-- In general, you can visit official MSM web sites, such as the - Health Equity Tracker, without revealing any personal information. - If you choose to provide us with any personal information by - sending an email or by filling out a form with your personal - information and submitting it through a MSM web site, we use that - information to respond to your message and to help us provide you - with information or material that you request. We do not give, - share, sell or transfer any personal information to a third party - unless required by law. -
-- Email communication that you send to us via contact forms on our - sites or through phone calls may be shared with a customer service - representative, employee, HET partners or medical expert that is - most able to address your inquiry. We make every effort to respond - in a timely fashion once communications are received. -
-- MSM and the HET use IP addresses (the Internet address of your - computer) to help diagnose problems with our servers and to - administer our site. For instance, we run statistical software to - identify those parts of our site that are more heavily used and - which portion of our audience comes from within the MSM network. - But, we do not link IP addresses to anything personally - identifiable. -
-- Like many other web sites, portions of MSM’s HET web site might - use cookies. This is typically done to recognize you and your - access privileges on the MSM web site. For instance, using cookies - prevents the user from needing to constantly reenter a password on - every site of MSM. These cookies get stored on your computer and - never contain personal data and cannot be accessed remotely by - anybody other than MSM. -
-- While aggregate statistical reports may be generated based on site - usage, no personally identifiable information will ever be - disseminated to any unaffiliated third party. -
-- While no computing environment can be 100% secure, it is MSM’s - goal to maintain as secure a technical environment as feasible - given the current state of capabilities and technologies. MSM will - comply with all state and federal statutes requiring additional - safeguards for certain types of information, such as students’ - personally identifiable information and patients’ protected health - information. -
-- Please note that some pages within MSM web site, for the - convenience of users, are linked to web sites not managed by the - institution or HET. MSM does not review, control or take - responsibility for the content of these web sites. Once you link - to another site, you are subject to the privacy policy of the new - web site. -
-- We may change the terms and conditions of our Privacy Policy at - any time by posting revisions on the MSM and HET web site. By - accessing or using the MSM and HET web site, you agree to be bound - by all the terms and conditions of our Privacy Policy as posted on - the MSM and HET web site at the time of your access or use. If you - do not agree to the terms of this Privacy Policy or any revised - statement, please exit the site immediately. -
-- If you have a complaint or problem with the HET website, or if you - believe your privacy rights have been violated from the HET - website, you may email us at HET@msm.edu. Please indicate the - reason for contacting us. The HET Communications and Dissemination - Core will review your complaint for response or resolution. -
-- No data protection method or combination of methods can be - guaranteed as completely secure. MSM nor HET are responsible for - and will not be held liable for disclosures of your personal - information due to errors in transmissions or unauthorized acts of - third parties. MSM nor HET guarantee the privacy of your - confidential information transmitted to its web site should you - choose not to use the appropriate secure on-line forms provided in - the relevant pages of the web site. By using this web site you - agree to the terms and conditions outlined in this Privacy Policy - statement. -
-+ {tou.paragraphs} +
+
- Please{' '}
-
- For more information about health equity, please sign up for our Satcher - Health Leadership Institute newsletter. -
-