Merge pull request #19946 from edx/cstenson/delete_flaky_tests

Delete flaky bokchoy tests.
This commit is contained in:
Cali
2019-03-06 14:56:47 -05:00
committed by GitHub
3 changed files with 0 additions and 49 deletions

View File

@@ -1058,7 +1058,6 @@ class FormulaProblemRandomizeTest(ProblemsTest):
)
@ddt.data(
('R_1*R_2', 'incorrect'),
('R_1/R_3', 'incorrect')
)
@ddt.unpack

View File

@@ -312,34 +312,6 @@ class SubsectionGradingPolicyBase(ProgressPageBaseTest):
self.assertEqual([label, 'true' if label_hidden else None], self.progress_page.x_tick_label(index))
class SubsectionGradingPolicyTest(SubsectionGradingPolicyBase):
"""
Tests changing a subsection's 'graded' field
and the effect it has on the progress page.
"""
shard = 22
def test_subsection_grading_policy_on_progress_page(self):
with self._logged_in_session():
self._check_scores_and_page_text([(0, 1), (0, 1)], (0, 2), u"Homework 1 - Test Subsection 1 - 0% (0/2)")
self.courseware_page.visit()
self._answer_problem_correctly()
self._check_scores_and_page_text([(1, 1), (0, 1)], (1, 2), u"Homework 1 - Test Subsection 1 - 50% (1/2)")
self._set_policy_for_subsection("Not Graded")
with self._logged_in_session():
self.progress_page.visit()
self.assertEqual(self._get_problem_scores(), [(1, 1), (0, 1)])
self.assertEqual(self._get_section_score(), (1, 2))
self.assertFalse(self.progress_page.text_on_page("Homework 1 - Test Subsection 1"))
self._set_policy_for_subsection("Homework")
with self._logged_in_session():
self._check_scores_and_page_text([(1, 1), (0, 1)], (1, 2), u"Homework 1 - Test Subsection 1 - 50% (1/2)")
class SubsectionGradingPolicyA11yTest(SubsectionGradingPolicyBase):
"""
Class to test the accessibility of subsection grading

View File

@@ -262,23 +262,3 @@ class GradingPageTest(StudioCourseTest):
self.ensure_input_fields_are_loaded()
grace_time = self.grading_page.grace_period_value
self.assertEqual(grace_time, '02:39')
def test_setting_grace_period_greater_than_one_day(self):
"""
Scenario: User can set a grace period greater than one day
Given I have populated a new course in Studio
And I am viewing the grading settings
When I change the grace period to "48:00"
And I press the "Save" notification button
And I reload the page
Then I see the grace period is "48:00"
"""
self.ensure_input_fields_are_loaded()
self.grading_page.check_field_value('00:00')
self.grading_page.set_grace_period('48:00')
self.grading_page.check_field_value('48:00')
self.grading_page.click_button("save")
self.grading_page.refresh_and_wait_for_load()
self.ensure_input_fields_are_loaded()
grace_time = self.grading_page.grace_period_value
self.assertEqual(grace_time, '48:00')