Merge pull request #18833 from edx/youngstrom/bok-choy-flaky

Remove flaky bok-choy tests
This commit is contained in:
Michael Youngstrom
2018-08-24 15:06:26 -04:00
committed by GitHub
2 changed files with 0 additions and 32 deletions

View File

@@ -457,28 +457,6 @@ class AccountSettingsPageTest(AccountSettingsTestMixin, AcceptanceTest):
offset = time_zone.strftime('%z')
return abbr, offset
def test_preferred_language_field(self):
"""
Test behaviour of "Preferred Language" field.
"""
self._test_dropdown_field(
u'language_proficiencies',
u'Preferred Language',
u'',
[u'Pushto', u''],
)
actual_events = self.wait_for_events(event_filter=self.settings_changed_event_filter, number_of_matches=2)
self.assert_events_match(
[
self.expected_settings_changed_event(
'language_proficiencies', [], [{'code': 'ps'}], table='student_languageproficiency'),
self.expected_settings_changed_event(
'language_proficiencies', [{'code': 'ps'}], [], table='student_languageproficiency'),
],
actual_events
)
def test_social_links_field(self):
"""
Test behaviour of one of the social media links field.

View File

@@ -120,16 +120,6 @@ class LoginFromCombinedPageTest(UniqueCourseTest):
course_names = self.dashboard_page.wait_for_page().available_courses
self.assertIn(self.course_info["display_name"], course_names)
def test_login_failure(self):
# Navigate to the login page
self.login_page.visit()
# User account does not exist
self.login_page.login(email="nobody@nowhere.com", password="password")
# Verify that an error is displayed
self.assertIn("Email or password is incorrect.", self.login_page.wait_for_errors())
def test_toggle_to_register_form(self):
self.login_page.visit().toggle_form()
self.assertEqual(self.login_page.current_form, "register")