diff --git a/frontend/tests/page-objects/LandingPage.ts b/frontend/tests/page-objects/LandingPage.ts index c522f21d9..ab8ea6f56 100644 --- a/frontend/tests/page-objects/LandingPage.ts +++ b/frontend/tests/page-objects/LandingPage.ts @@ -10,7 +10,7 @@ export default class LandingPage extends BasePage { GET_ORGANIZED_BUTTON: "#btn-get-organized", GROW_ORGANIZATION_BUTTON: "#btn-grow-organization", ABOUT_BUTTON: "#btn-activist", - BECOME_SUPPORTER_BUTTON: "btn-become-supporter", + BECOME_SUPPORTER_BUTTON: "#btn-become-supporter", OUR_SUPPORTERS_BUTTON: "#btn-our-supporters", }; diff --git a/frontend/tests/specs/landing-page.spec.ts b/frontend/tests/specs/landing-page.spec.ts index 7ad778615..9be90a69d 100644 --- a/frontend/tests/specs/landing-page.spec.ts +++ b/frontend/tests/specs/landing-page.spec.ts @@ -136,6 +136,7 @@ test.describe("Landing Page", () => { await expect(landingPage.getOrganizedButton).toBeVisible(); await expect(landingPage.growOrganizationButton).toBeVisible(); await expect(landingPage.aboutButton).toBeVisible(); + await expect(landingPage.becomeSupportersButton).toBeVisible(); await expect(landingPage.ourSupportersButton).toBeVisible(); }); });