Skip to content

Commit 9c14da6

Browse files
authored
Merge branch 'main' into MNTOR-5107-test
2 parents 2cc65b0 + 7521902 commit 9c14da6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+6841
-5149
lines changed

.env

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ MOZILLA_VPN_LANDING_URL=https://www-dev.allizom.org/products/vpn
139139
# have seen data breach results before, will be able to see their known breaches
140140
# first:
141141
BROKER_SCAN_RELEASE_DATE=2024-02-06
142-
BROKER_SCAN_SHUTDOWN_DATE=2025-12-17
143142

144143
MONTHLY_SUBSCRIBERS_QUOTA=
145144
MONTHLY_SCANS_QUOTA=

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ updates:
2424
- "eslint-*"
2525
exclude-patterns:
2626
- "eslint-config-next"
27+
- "eslint-plugin-storybook"
2728
jest:
2829
patterns:
2930
- "babel-jest"
@@ -49,6 +50,7 @@ updates:
4950
patterns:
5051
- "storybook"
5152
- "@storybook/*"
53+
- "eslint-plugin-storybook"
5254
exclude-patterns:
5355
- "eslint-config-next"
5456
fluent:

functional-tests/fixtures/baseTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ export const defaultLocalForcedFeatureFlags: FeatureFlagName[] = [
1313
"AutomaticRemovalCsatSurvey",
1414
"AdditionalRemovalStatuses",
1515
"DataBrokerRemovalTimeEstimateLabel",
16-
"LandingPageRedesign",
1716
"DataBrokerRemovalAttempts",
1817
"SidebarNavigationRedesign",
1918
"EditScanProfileDetails",
2019
"SubPlat3",
20+
"FreeOnly",
2121
];
2222

2323
const test = baseTest.extend<{

functional-tests/tests/auth.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ test.describe(`Verify authentication [${process.env.E2E_TEST_ENV}]`, () => {
4343
async ({ page }, testInfo) => {
4444
if (testInfo.project.use.countryCode === "us") {
4545
// shows the onboarding flow
46-
const heading = page.locator("h1", {
47-
hasText: "Welcome to ⁨Monitor⁩. Let’s find your exposed information.",
46+
const heading = page.locator("h2", {
47+
hasText: "View all sites where your info is exposed",
4848
});
4949
expect(heading).toBeVisible();
5050
} else {

functional-tests/tests/global-teardown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ async function deleteTestUserAccounts(browser: Browser) {
3131
await page.goto(`${getBaseTestEnvUrl()}/user/settings/manage-account`);
3232

3333
await page.getByRole("button", { name: "Open user menu" }).click();
34-
const manageAccountLink = page.getByRole("link", {
34+
const manageAccountLink = page.getByRole("menuitem", {
3535
name: "Manage your ⁨Mozilla account⁩",
3636
exact: false,
3737
});

functional-tests/tests/landing.spec.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,15 @@ test.describe(`Verify landing page [${process.env.E2E_TEST_ENV}]`, () => {
1818

1919
test("landing page loads", async ({ page }, testInfo) => {
2020
if (
21-
process.env.E2E_TEST_ENV !== "local" &&
2221
testInfo.project.use.countryCode === "nl"
2322
) {
24-
const heading = page.locator("h1", {
25-
hasText: "Ontdek waar uw privégegevens zijn gelekt – en neem ze terug",
23+
const heading = page.getByRole("heading", {
24+
name: "Ontdek waar uw privégegevens zijn gelekt – en neem ze terug",
2625
});
2726
await expect(heading).toBeVisible();
2827
} else {
29-
const heading = page.locator("h2", {
30-
hasText: "Find where your personal info is exposed — and take it back",
28+
const heading = page.getByRole("heading", {
29+
name: "Find where your private info is exposed — and take it back",
3130
});
3231
await expect(heading).toBeVisible();
3332
}

functional-tests/tests/subscriptions.spec.ts

Lines changed: 0 additions & 68 deletions
This file was deleted.

functional-tests/utils/fxa.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,12 @@ async function goToFxA(
1515
page: Page,
1616
{
1717
countryCode,
18-
isMobile,
1918
}: {
2019
countryCode?: string;
2120
isMobile?: boolean;
2221
},
2322
) {
2423
await page.goto(`${getBaseTestEnvUrl()}/`);
25-
if (
26-
isMobile &&
27-
(process.env.E2E_TEST_ENV === "local" || countryCode === "us")
28-
) {
29-
const mobileMenuButtonLabel =
30-
countryCode === "nl" ? "Menu uitvouwen" : "Expand menu";
31-
const mobileMenuButton = page.getByRole("button", {
32-
name: mobileMenuButtonLabel,
33-
});
34-
await mobileMenuButton.click();
35-
}
3624

3725
const signInButtonLabel = countryCode === "nl" ? "Aanmelden" : "Sign In";
3826
await page.getByRole("button", { name: signInButtonLabel }).first().click();

locales-pending/plus-shutdown.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
plus-shutdown-banner-button-learn-more = Learn more
66
plus-shutdown-banner-button-close = Close
7-
plus-shutdown-banner-free-runup-heading = Update: { -brand-monitor } data broker scan results will be deleted in 30 days
7+
plus-shutdown-banner-free-runup-heading = { -brand-monitor } data broker scan results will be deleted on December 17
88
plus-shutdown-banner-free-runup-subheading = View your results ahead of the the { -brand-monitor-plus } shutdown.
99
plus-shutdown-banner-free-shutdown-heading = Data broker scan results have been deleted, but { -brand-monitor } lives on
1010
plus-shutdown-banner-free-shutdown-subheading = You can still continue to access data breach monitoring to help keep your info safe online.

locales/cy/landing-all.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
44

55
public-nav-name = { -brand-mozilla-monitor }
6-
landing-all-hero-title = Canfod lle mae'ch manylion preifat yn cael eu hamlygu — a'u cipio nôl
6+
landing-all-hero-title = Gweld lle mae'ch manylion preifat wedi'u datgelu — a'u cael yn nôl
77
landing-all-hero-lead = Rydym yn sganio tor-data i weld a yw'ch data wedi'u datgelu ac yn cynnig camau i chi i'w drwsio.
88
landing-all-hero-emailform-input-placeholder = [email protected]
99
landing-all-hero-emailform-input-label = Rhowch eich cyfeiriad e-bost i wirio am ddatguddiadau tor-data.

0 commit comments

Comments
 (0)