From 94a556200d6994d539bfa5e8da65308c5db3e2dd Mon Sep 17 00:00:00 2001 From: Michael Youngstrom <myoungstrom@edx.org> Date: Thu, 22 Mar 2018 16:13:55 -0400 Subject: [PATCH] Remove test_country_field --- .../tests/lms/test_learner_profile.py | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/common/test/acceptance/tests/lms/test_learner_profile.py b/common/test/acceptance/tests/lms/test_learner_profile.py index 4ef6ccf118e..086d6a5cb27 100644 --- a/common/test/acceptance/tests/lms/test_learner_profile.py +++ b/common/test/acceptance/tests/lms/test_learner_profile.py @@ -348,28 +348,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_country_field(self): - """ - Test behaviour of `Country` field. - - Given that I am a registered user. - And I visit my Profile page. - And I set the profile visibility to public and set default values for public fields. - Then I set country value to `Pakistan`. - Then displayed country should be `Pakistan` and country field mode should be `display` - And I reload the page. - Then displayed country should be `Pakistan` and country field mode should be `display` - And I make `country` field editable - Then `country` field mode should be `edit` - And `country` field icon should be visible. - """ - username, __ = self.log_in_as_unique_user() - profile_page = self.visit_profile_page(username, privacy=self.PRIVACY_PUBLIC) - self._test_dropdown_field(profile_page, 'country', 'Pakistan', 'Pakistan', 'display') - - profile_page.make_field_editable('country') - self.assertEqual(profile_page.mode_for_field('country'), 'edit') - def test_about_me_field(self): """ Test behaviour of `About Me` field. -- GitLab