diff --git a/lms/djangoapps/discussion/tests/test_views.py b/lms/djangoapps/discussion/tests/test_views.py index ceaad8e240..733c1ac346 100644 --- a/lms/djangoapps/discussion/tests/test_views.py +++ b/lms/djangoapps/discussion/tests/test_views.py @@ -2296,11 +2296,11 @@ class ForumMFETestCase(ForumsEnableMixin, SharedModuleStoreTestCase): response = self.client.get(reverse("forum_form_discussion", args=[self.course.id])) content = response.content.decode('utf8') if mfe_url and toggle_enabled: - assert "An educator preview of new discussions experience is available!" in content + assert "You are viewing an educator only preview of the new discussions experience!" in content assert "legacy experience" in content assert "new experience" not in content else: - assert "An educator preview of new discussions experience is available!" not in content + assert "You are viewing an educator only preview of the new discussions experience!" not in content @override_settings(DISCUSSIONS_MICROFRONTEND_URL="http://test.url") @ddt.data(*itertools.product((True, False), ("legacy", "new", None))) diff --git a/lms/templates/discussion/_switch_experience_fragment.html b/lms/templates/discussion/_switch_experience_fragment.html index f4b78c6285..141364264e 100644 --- a/lms/templates/discussion/_switch_experience_fragment.html +++ b/lms/templates/discussion/_switch_experience_fragment.html @@ -8,9 +8,15 @@ from django.utils.translation import ugettext as _ % if show_banner: