Commit 90e7930a by Eric Fischer

Merge pull request #893 from edx/efischer/js_min

Post-RC fixes
parents 92099363 5332d459
...@@ -82,7 +82,7 @@ class OpenAssessmentTest(WebAppTest): ...@@ -82,7 +82,7 @@ class OpenAssessmentTest(WebAppTest):
OPTIONS_SELECTED = [1, 2] OPTIONS_SELECTED = [1, 2]
STAFF_OVERRIDE_OPTIONS_SELECTED = [0, 1] STAFF_OVERRIDE_OPTIONS_SELECTED = [0, 1]
STAFF_OVERRIDE_SCORE = 1 STAFF_OVERRIDE_SCORE = 1
STAFF_GRADE_EXISTS = "Complete" STAFF_GRADE_EXISTS = "COMPLETE"
STAFF_OVERRIDE_LEARNER_STEPS_NOT_COMPLETE = "You Must Complete the Steps Above to View Your Grade" STAFF_OVERRIDE_LEARNER_STEPS_NOT_COMPLETE = "You Must Complete the Steps Above to View Your Grade"
STAFF_AREA_SCORE = "Final grade: {} out of 8" STAFF_AREA_SCORE = "Final grade: {} out of 8"
STAFF_OVERRIDE_STAFF_AREA_NOT_COMPLETE = "The problem has not been completed." STAFF_OVERRIDE_STAFF_AREA_NOT_COMPLETE = "The problem has not been completed."
...@@ -323,14 +323,14 @@ class StaffAssessmentTest(OpenAssessmentTest): ...@@ -323,14 +323,14 @@ class StaffAssessmentTest(OpenAssessmentTest):
self.submission_page.visit() self.submission_page.visit()
# Verify that staff grade step is shown initially # Verify that staff grade step is shown initially
self._verify_staff_grade_section("Not Available", None) self._verify_staff_grade_section("NOT AVAILABLE", None)
# User submits a response # User submits a response
self.submission_page.submit_response(self.SUBMISSION) self.submission_page.submit_response(self.SUBMISSION)
self.assertTrue(self.submission_page.has_submitted) self.assertTrue(self.submission_page.has_submitted)
# Verify staff grade section appears as expected # Verify staff grade section appears as expected
self._verify_staff_grade_section("Not Available", "Waiting for a Staff Grade") self._verify_staff_grade_section("NOT AVAILABLE", "Waiting for a Staff Grade")
# Perform staff assessment # Perform staff assessment
self.staff_area_page = StaffAreaPage(self.browser, self.problem_loc) self.staff_area_page = StaffAreaPage(self.browser, self.problem_loc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment