Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
c25cdbad
Commit
c25cdbad
authored
Jul 13, 2016
by
Jhony Avella
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing references to deleted module common.test.acceptance.pages.lms.rubric
parent
6e7d4cef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
22 deletions
+0
-22
common/test/acceptance/pages/lms/peer_calibrate.py
+0
-11
common/test/acceptance/pages/lms/peer_grade.py
+0
-11
No files found.
common/test/acceptance/pages/lms/peer_calibrate.py
View file @
c25cdbad
...
@@ -5,7 +5,6 @@ Page that allows the student to grade calibration essays
...
@@ -5,7 +5,6 @@ Page that allows the student to grade calibration essays
from
bok_choy.page_object
import
PageObject
from
bok_choy.page_object
import
PageObject
from
bok_choy.promise
import
Promise
from
bok_choy.promise
import
Promise
from
.rubric
import
RubricPage
class
PeerCalibratePage
(
PageObject
):
class
PeerCalibratePage
(
PageObject
):
...
@@ -33,16 +32,6 @@ class PeerCalibratePage(PageObject):
...
@@ -33,16 +32,6 @@ class PeerCalibratePage(PageObject):
self
.
q
(
css
=
'input.calibration-feedback-button'
)
.
first
.
click
()
self
.
q
(
css
=
'input.calibration-feedback-button'
)
.
first
.
click
()
@property
@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
):
def
message
(
self
):
"""
"""
Return a message shown to the user, or None if no message is available.
Return a message shown to the user, or None if no message is available.
...
...
common/test/acceptance/pages/lms/peer_grade.py
View file @
c25cdbad
...
@@ -4,7 +4,6 @@ Students grade peer submissions.
...
@@ -4,7 +4,6 @@ Students grade peer submissions.
from
bok_choy.page_object
import
PageObject
from
bok_choy.page_object
import
PageObject
from
bok_choy.promise
import
Promise
from
bok_choy.promise
import
Promise
from
.rubric
import
RubricPage
class
PeerGradePage
(
PageObject
):
class
PeerGradePage
(
PageObject
):
...
@@ -37,13 +36,3 @@ class PeerGradePage(PageObject):
...
@@ -37,13 +36,3 @@ class PeerGradePage(PageObject):
"""
"""
index
=
self
.
problem_list
.
index
(
problem_name
)
+
1
index
=
self
.
problem_list
.
index
(
problem_name
)
+
1
self
.
q
(
css
=
'a.problem-button:nth-of-type({})'
.
format
(
index
))
.
first
.
click
()
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment