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
d8396924
Commit
d8396924
authored
Mar 21, 2015
by
muzaffaryousaf
Committed by
Usman Khalid
Mar 23, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added get_cohort_associated_assignment_type method.
parent
0ebd8c29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
common/test/acceptance/pages/lms/instructor_dashboard.py
+9
-0
No files found.
common/test/acceptance/pages/lms/instructor_dashboard.py
View file @
d8396924
...
@@ -308,6 +308,15 @@ class MembershipPageCohortManagementSection(PageObject):
...
@@ -308,6 +308,15 @@ class MembershipPageCohortManagementSection(PageObject):
return
None
return
None
return
get_selected_option_text
(
self
.
q
(
css
=
self
.
_bounded_selector
(
self
.
content_group_selector_css
)))
return
get_selected_option_text
(
self
.
q
(
css
=
self
.
_bounded_selector
(
self
.
content_group_selector_css
)))
def
get_cohort_associated_assignment_type
(
self
):
"""
Returns the assignment type associated with the cohort currently being edited.
"""
self
.
select_cohort_settings
()
css_selector
=
self
.
_bounded_selector
(
self
.
assignment_type_buttons_css
)
radio_button
=
self
.
q
(
css
=
css_selector
)
.
filter
(
lambda
el
:
el
.
is_selected
())
.
results
[
0
]
return
radio_button
.
get_attribute
(
'value'
)
def
set_cohort_associated_content_group
(
self
,
content_group
=
None
,
select_settings
=
True
):
def
set_cohort_associated_content_group
(
self
,
content_group
=
None
,
select_settings
=
True
):
"""
"""
Sets the content group associated with the cohort currently being edited.
Sets the content group associated with the cohort currently being edited.
...
...
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