diff --git a/src/e2e/pages/dashBoardPage.ts b/src/e2e/pages/dashBoardPage.ts index 262d0986fbf..ea9fc14f6eb 100644 --- a/src/e2e/pages/dashBoardPage.ts +++ b/src/e2e/pages/dashBoardPage.ts @@ -122,7 +122,7 @@ export class DashboardPage { '//a[starts-with(@class, "Shell_mozillaLink")]', ); this.allBreachesFooter = page.locator("footer a", { - hasText: "All Breaches", + hasText: "Recent data breaches", }); this.faqsFooter = page.locator("footer a", { hasText: "FAQs" }); this.termsOfServiceFooter = page.locator("footer a", { diff --git a/src/e2e/specs/auth.spec.ts b/src/e2e/specs/auth.spec.ts index a820b367893..ee6a098852e 100644 --- a/src/e2e/specs/auth.spec.ts +++ b/src/e2e/specs/auth.spec.ts @@ -27,8 +27,8 @@ test.describe(`${process.env.E2E_TEST_ENV} - Authentication flow verification @s await authPage.signUp(randomEmail, page); // assert successful login - const successUrl = "/user/welcome"; - expect(page.url()).toBe(`${process.env.E2E_TEST_BASE_URL}${successUrl}`); + const successUrl = `${process.env.E2E_TEST_BASE_URL}/user/welcome`; + expect(page.url()).toBe(successUrl); await testInfo.attach( `${process.env.E2E_TEST_ENV}-signup-monitor-dashboard.png`,