Removing references to deleted module common.test.acceptance.pages.lms.rubric
This commit is contained in:
@@ -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):
|
||||
@@ -32,16 +31,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):
|
||||
"""
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user