chore: Update Monitor CTA experiment copy

This commit is contained in:
Florian Zia 2024-07-23 12:30:24 +02:00
Родитель 414fdb853a
Коммит 5b20feef9e
Не найден ключ, соответствующий данной подписи
4 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -83,4 +83,4 @@ enums:
ctaOnly:
description: Only show a CTA button with the label “Get free scan”
ctaOnlyAlternativeLabel:
description: Only show a CTA button with the label “Sign in to get free scan”
description: Only show a CTA button with the label “Sign up to get free scan”

Просмотреть файл

@ -10,7 +10,7 @@ landing-all-hero-lead = We scan data breaches to see if your data has been leake
landing-all-hero-emailform-input-placeholder = yourname@example.com
landing-all-hero-emailform-input-label = Enter your email address to check for data breach exposures.
landing-all-hero-emailform-submit-label = Get free scan
landing-all-hero-emailform-submit-sign-in-label = Sign in to get free scan
landing-all-hero-emailform-submit-sign-up-label = Sign up to get free scan
# This is a label underneath a big number "14" - it's an image that demos Monitor.
landing-all-hero-image-chart-label = exposures

Просмотреть файл

@ -106,7 +106,7 @@ export const FreeScanCta = (
props.experimentData["landing-page-free-scan-cta"].variant ===
"ctaOnly"
? "landing-all-hero-emailform-submit-label"
: "landing-all-hero-emailform-submit-sign-in-label",
: "landing-all-hero-emailform-submit-sign-up-label",
)}
</TelemetryButton>
</div>

Просмотреть файл

@ -928,7 +928,7 @@ describe("Free scan CTA experiment", () => {
expect(inputField.length).toBe(0);
const submitButton = screen.getAllByRole("button", {
name: "Sign in to get free scan",
name: "Sign up to get free scan",
});
expect(submitButton[0]).toBeInTheDocument();
});