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
cca52b90
Commit
cca52b90
authored
Apr 10, 2017
by
Robert Raposa
Committed by
Diana Huang
Apr 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failures with simplified subsection title selector.
parent
584e7fda
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
common/test/acceptance/pages/lms/course_home.py
+1
-1
openedx/features/course_experience/templates/course_experience/course-outline-fragment.html
+1
-1
No files found.
common/test/acceptance/pages/lms/course_home.py
View file @
cca52b90
...
@@ -56,7 +56,7 @@ class CourseOutlinePage(PageObject):
...
@@ -56,7 +56,7 @@ class CourseOutlinePage(PageObject):
SECTION_SELECTOR
=
'.outline-item.section:nth-of-type({0})'
SECTION_SELECTOR
=
'.outline-item.section:nth-of-type({0})'
SECTION_TITLES_SELECTOR
=
'.section-name span'
SECTION_TITLES_SELECTOR
=
'.section-name span'
SUBSECTION_SELECTOR
=
SECTION_SELECTOR
+
' .subsection:nth-of-type({1}) .outline-item'
SUBSECTION_SELECTOR
=
SECTION_SELECTOR
+
' .subsection:nth-of-type({1}) .outline-item'
SUBSECTION_TITLES_SELECTOR
=
SECTION_SELECTOR
+
' .subsection
a span:first-child
'
SUBSECTION_TITLES_SELECTOR
=
SECTION_SELECTOR
+
' .subsection
.subsection-title
'
OUTLINE_RESUME_COURSE_SELECTOR
=
'.outline-item .resume-right'
OUTLINE_RESUME_COURSE_SELECTOR
=
'.outline-item .resume-right'
def
__init__
(
self
,
browser
,
parent_page
):
def
__init__
(
self
,
browser
,
parent_page
):
...
...
openedx/features/course_experience/templates/course_experience/course-outline-fragment.html
View file @
cca52b90
...
@@ -40,7 +40,7 @@ from django.utils.translation import ugettext as _
...
@@ -40,7 +40,7 @@ from django.utils.translation import ugettext as _
>
>
<div
class=
"subsection-text"
>
<div
class=
"subsection-text"
>
## Subsection title
## Subsection title
<span>
${ subsection['display_name'] }
</span>
<span
class=
"subsection-title"
>
${ subsection['display_name'] }
</span>
<div
class=
"details"
>
<div
class=
"details"
>
## There are behavior differences between rendering of subsections which have
## There are behavior differences between rendering of subsections which have
...
...
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