From b806924c3759f8a739b31434bb22657c5ce041f2 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Thu, 9 Apr 2026 12:26:51 +1000 Subject: [PATCH] chore: fix tests for appeal --- tests/automation/cta_donations.spec.ts | 6 +++--- tests/automation/enforce_localized_str.spec.ts | 6 ++++++ tests/localization/lib | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/tests/automation/cta_donations.spec.ts b/tests/automation/cta_donations.spec.ts index 8ecd1a7..f94a6e1 100644 --- a/tests/automation/cta_donations.spec.ts +++ b/tests/automation/cta_donations.spec.ts @@ -14,9 +14,9 @@ import { async function verifyDonateCTAShows(window: Page) { await checkCTAStrings( window, - tStripped('donateSessionAppealTitle'), - tStripped('donateSessionAppealDescription'), - [tStripped('donateSessionAppealReadMore')], + tStripped('finalAppeal'), + tStripped('finalAppealDescription'), + [tStripped('readMoreCapital')], ); } diff --git a/tests/automation/enforce_localized_str.spec.ts b/tests/automation/enforce_localized_str.spec.ts index 4490bbd..ad600f2 100644 --- a/tests/automation/enforce_localized_str.spec.ts +++ b/tests/automation/enforce_localized_str.spec.ts @@ -291,6 +291,12 @@ function getExpectedStringFromKey( return 'Quit'; case 'donateSessionAppealTitle': return 'Please Read: A Personal Appeal From Cofounder of Session Chris McCabe'; + case 'finalAppealDescription': + return "Your donations have helped, but the Session Technology Foundation (STF) has only received enough funding to support critical operations until the 8th of July. Development has been paused, and without additional funding the STF will shut down, resulting in Session being removed from the app stores and essential services going offline. Please help us secure Session's future."; + case 'readMoreCapital': + return 'Read More'; + case 'finalAppeal': + return 'Our Final Appeal: Session is shutting down in 90 days'; case 'donateSessionAppealDescription': return 'Eight years ago, Session was founded with a mission to restore your privacy. Today, Session faces a funding shortage which puts its very survival at risk. If you’ve ever found value in Session or its mission, please give me a moment of your time and read this appeal.'; case 'donateSessionAppealReadMore': diff --git a/tests/localization/lib b/tests/localization/lib index 94eb078..ceffc44 160000 --- a/tests/localization/lib +++ b/tests/localization/lib @@ -1 +1 @@ -Subproject commit 94eb078144540390d4209d805c5373be0ccba33c +Subproject commit ceffc446039c90ea1b85b9d6c83df9f282113045