Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
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-ora2
Commits
dbf4d08d
Commit
dbf4d08d
authored
Dec 04, 2015
by
cahrens
Committed by
Andy Armstrong
Dec 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Full workflow tests.
TNL-3819
parent
6c60344f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
3 deletions
+24
-3
openassessment/templates/openassessmentblock/staff_area/oa_student_info.html
+3
-3
test/acceptance/pages.py
+21
-0
test/acceptance/tests.py
+0
-0
No files found.
openassessment/templates/openassessmentblock/staff_area/oa_student_info.html
View file @
dbf4d08d
...
...
@@ -46,7 +46,7 @@
</div>
{% if peer_assessments %}
<div
class=
"staff-info__status ui-staff__content__section wrapper--ui--collapse"
>
<div
class=
"staff-info__status ui-staff__content__section wrapper--ui--collapse
staff-info__peer__assessments
"
>
<div
class=
"ui-staff ui-toggle-visibility is--collapsed"
>
<h2
class=
"staff-info__title ui-staff__subtitle ui-toggle-visibility__control"
>
<i
class=
"icon fa fa-caret-right"
aria-hidden=
"true"
></i>
...
...
@@ -99,7 +99,7 @@
{% endif %}
{% if submitted_assessments %}
<div
class=
"staff-info__status ui-staff__content__section wrapper--ui--collapse"
>
<div
class=
"staff-info__status ui-staff__content__section wrapper--ui--collapse
staff-info__submitted__assessments
"
>
<div
class=
"ui-staff ui-toggle-visibility is--collapsed"
>
<h2
class=
"staff-info__title ui-staff__subtitle ui-toggle-visibility__control"
>
<i
class=
"icon fa fa-caret-right"
aria-hidden=
"true"
></i>
...
...
@@ -152,7 +152,7 @@
{% endif %}
{% if self_assessment %}
<div
class=
"staff-info__status ui-staff__content__section wrapper--ui--collapse"
>
<div
class=
"staff-info__status ui-staff__content__section wrapper--ui--collapse
staff-info__self__assessment
"
>
<div
class=
"ui-staff ui-toggle-visibility is--collapsed"
>
<h2
class=
"staff-info__title ui-staff__subtitle ui-toggle-visibility__control"
>
<i
class=
"icon fa fa-caret-right"
aria-hidden=
"true"
></i>
...
...
test/acceptance/pages.py
View file @
dbf4d08d
...
...
@@ -548,3 +548,24 @@ class StaffAreaPage(OpenAssessmentPage, AssessmentMixin):
# Must put a comment to enable the submit button.
self
.
q
(
css
=
self
.
_bounded_selector
(
"textarea.cancel_submission_comments"
))
.
fill
(
"comment"
)
self
.
submit
(
button_css
=
".action--submit-cancel-submission"
)
def
status_text
(
self
,
section
):
"""
Return the status text (as an array of strings) as shown in the staff area section.
Args:
section: the classname of the section for which text should be returned
(for example, 'peer__assessments', 'submitted__assessments', or 'self__assessment'
Returns: array of strings representing the text(for example, ['Good', u'5', u'5', u'Excellent', u'3', u'3'])
"""
table_elements
=
self
.
q
(
css
=
self
.
_bounded_selector
(
".staff-info__{} .staff-info__status__table .value"
.
format
(
section
))
)
text
=
[]
for
value
in
table_elements
:
text
.
append
(
value
.
text
)
return
text
test/acceptance/tests.py
View file @
dbf4d08d
This diff is collapsed.
Click to expand it.
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