Commit 0d227afc by Ben Patterson Committed by GitHub

Merge pull request #12994 from eduNEXT/jfavellar90/rubric-pages-fix

Removing references to deleted module common.test.acceptance.pages.lm…
parents 18a2b535 c25cdbad
......@@ -5,7 +5,6 @@ Page that allows the student to grade calibration essays
from bok_choy.page_object import PageObject
from bok_choy.promise import Promise
from .rubric import RubricPage
class PeerCalibratePage(PageObject):
......@@ -33,16 +32,6 @@ class PeerCalibratePage(PageObject):
self.q(css='input.calibration-feedback-button').first.click()
@property
def rubric(self):
"""
Return a `RubricPage` for the calibration essay.
If no rubric is available, raises a `BrokenPromise` exception.
"""
rubric = RubricPage(self.browser)
rubric.wait_for_page(timeout=60)
return rubric
@property
def message(self):
"""
Return a message shown to the user, or None if no message is available.
......
......@@ -4,7 +4,6 @@ Students grade peer submissions.
from bok_choy.page_object import PageObject
from bok_choy.promise import Promise
from .rubric import RubricPage
class PeerGradePage(PageObject):
......@@ -37,13 +36,3 @@ class PeerGradePage(PageObject):
"""
index = self.problem_list.index(problem_name) + 1
self.q(css='a.problem-button:nth-of-type({})'.format(index)).first.click()
@property
def rubric(self):
"""
Return a `RubricPage` to allow students to grade their peers.
If no rubric is available, raises a `BrokenPromise` exception.
"""
rubric = RubricPage(self.browser)
rubric.wait_for_page()
return rubric
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