onboarding_steps: Remove hotspot as an onboarding_step.

Earlier, hotspots and one-time notices were the valid
type of onboarding step.

Now, one-time notice is the only valid type.

Fixes #29296.
This commit is contained in:
Prakhar Pratyush
2024-05-10 19:07:43 +05:30
committed by Tim Abbott
parent e8769f80a6
commit bf2360bcf2
32 changed files with 82 additions and 1417 deletions

View File

@@ -2930,11 +2930,8 @@ class NormalActionsTest(BaseAction):
check_realm_deactivated("events[0]", events[0])
def test_do_mark_onboarding_step_as_read(self) -> None:
self.user_profile.tutorial_status = UserProfile.TUTORIAL_WAITING
self.user_profile.save(update_fields=["tutorial_status"])
with self.verify_action() as events:
do_mark_onboarding_step_as_read(self.user_profile, "intro_streams")
do_mark_onboarding_step_as_read(self.user_profile, "intro_inbox_view_modal")
check_onboarding_steps("events[0]", events[0])
def test_rename_stream(self) -> None: