From 349bc33ac0b486a273ff65ce8b873adce86e1895 Mon Sep 17 00:00:00 2001 From: Christie Rice <8483753+crice100@users.noreply.github.com> Date: Mon, 1 Apr 2019 09:32:37 -0400 Subject: [PATCH] Remove flaky test test_birth_year_not_set --- .../acceptance/tests/lms/test_learner_profile.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/common/test/acceptance/tests/lms/test_learner_profile.py b/common/test/acceptance/tests/lms/test_learner_profile.py index 5051d91552..927729b1ab 100644 --- a/common/test/acceptance/tests/lms/test_learner_profile.py +++ b/common/test/acceptance/tests/lms/test_learner_profile.py @@ -329,20 +329,6 @@ class OwnLearnerProfilePageTest(LearnerProfileTestMixin, AcceptanceTest): self.assertEqual(profile_page.get_non_editable_mode_value(field_id), displayed_value) self.assertTrue(profile_page.mode_for_field(field_id), mode) - def test_birth_year_not_set(self): - """ - Verify message if birth year is not set. - - Given that I am a registered user. - And birth year is not set for the user. - And I visit my profile page. - Then I should see a message that the profile is private until the year of birth is set. - """ - username, user_id = self.log_in_as_unique_user() - message = "You must specify your birth year before you can share your full profile." - self.verify_profile_forced_private_message(username, birth_year=None, message=message) - self.verify_profile_page_view_event(username, user_id, visibility=self.PRIVACY_PRIVATE) - def test_user_is_under_age(self): """ Verify message if user is under age.