From aad98fdca6197b76febddcfb8223918d128d4f99 Mon Sep 17 00:00:00 2001 From: Andrew Tavis McAllister Date: Sun, 7 Jul 2024 08:21:47 -0700 Subject: [PATCH] Replace comment sections with marks for easier file navigation --- frontend/tests/specs/home-page.spec.ts | 4 +--- frontend/tests/specs/landing-page.spec.ts | 12 +++--------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/frontend/tests/specs/home-page.spec.ts b/frontend/tests/specs/home-page.spec.ts index 0536e0c58..3180c166d 100644 --- a/frontend/tests/specs/home-page.spec.ts +++ b/frontend/tests/specs/home-page.spec.ts @@ -8,9 +8,7 @@ test.describe("Home Page", () => { await topicsDropdown.waitFor({ state: "visible" }); }); - /* *********************************************************** */ - /* ACCESSIBILITY TESTS */ - /* *********************************************************** */ + // MARK: Accessibility // Test accessibility of the home page (skip this test for now). // Note: Check to make sure that this is eventually done for light and dark modes. diff --git a/frontend/tests/specs/landing-page.spec.ts b/frontend/tests/specs/landing-page.spec.ts index 8453afd2b..85eaa800e 100644 --- a/frontend/tests/specs/landing-page.spec.ts +++ b/frontend/tests/specs/landing-page.spec.ts @@ -10,9 +10,7 @@ test.describe("Landing Page", () => { await landingSplash.waitFor({ state: "visible" }); }); - /* *********************************************************** */ - /* ACCESSIBILITY TESTS */ - /* *********************************************************** */ + // MARK: Accessibility // Test accessibility of the landing page (skip this test for now). // Note: Check to make sure that this is eventually done for light and dark modes. @@ -31,9 +29,7 @@ test.describe("Landing Page", () => { expect(results.violations).toEqual([]); }); - /* *********************************************************** */ - /* HEADER TESTS */ - /* *********************************************************** */ + // MARK: Header // Test that the correct Header is visible on mobile or desktop. test("The correct header element should be visible on mobile and desktop", async ({ @@ -100,9 +96,7 @@ test.describe("Landing Page", () => { } }); - /* *********************************************************** */ - /* LANDING PAGE TESTS */ - /* *********************************************************** */ + // MARK: Landing Page // Test that the title of the landing page contains "activist". test('Title should contain "activist"', async ({ landingPage }) => {