onboarding: Use "Moving to Zulip" guide in emails & Welcome bot message.

Replaces links to "Getting your organization started with Zulip"
in onboarding emails and Welcome bot direct message for owners of
new organizations.

Revises text in those emails and messages to reflect the new
"Moving to Zulip" help center guide that is now used.
This commit is contained in:
Lauryn Menard
2024-09-26 18:23:32 +02:00
committed by Tim Abbott
parent 993eeec997
commit f9de3f9a45
8 changed files with 18 additions and 19 deletions

View File

@@ -1750,8 +1750,8 @@ class RealmCreationTest(ZulipTestCase):
# Organization type is not education or education_nonprofit,
# and organization is not a demo organization.
self.assertIn("Getting started guide", welcome_msg.content)
self.assertNotIn("Using Zulip for a class guide", welcome_msg.content)
self.assertIn("getting started guide", welcome_msg.content)
self.assertNotIn("using Zulip for a class guide", welcome_msg.content)
self.assertNotIn("demo organization", welcome_msg.content)
# Organization has tracked onboarding messages.
@@ -1818,8 +1818,8 @@ class RealmCreationTest(ZulipTestCase):
self.assertTrue(welcome_msg.content.startswith("Hello, and welcome to Zulip!"))
# Organization type is education, and organization is a demo organization.
self.assertNotIn("Getting started guide", welcome_msg.content)
self.assertIn("Using Zulip for a class guide", welcome_msg.content)
self.assertNotIn("getting started guide", welcome_msg.content)
self.assertIn("using Zulip for a class guide", welcome_msg.content)
self.assertIn("demo organization", welcome_msg.content)
@override_settings(OPEN_REALM_CREATION=True)