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
902126d5
Commit
902126d5
authored
Feb 02, 2016
by
Ben Patterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify method intent. Use BrokenPromise rather than assert.
parent
07f8b8e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
common/test/acceptance/pages/lms/courseware.py
+4
-4
common/test/acceptance/tests/lms/test_lms.py
+1
-1
No files found.
common/test/acceptance/pages/lms/courseware.py
View file @
902126d5
...
...
@@ -78,9 +78,11 @@ class CoursewarePage(CoursePage):
else
:
return
self
.
q
(
css
=
self
.
xblock_component_selector
)
.
attrs
(
'innerHTML'
)[
index
]
.
strip
()
def
tooltips_displayed
(
self
):
def
verify_
tooltips_displayed
(
self
):
"""
Verify if sequence navigation bar tooltips are being displayed upon mouse hover.
Verify that all sequence navigation bar tooltips are being displayed upon mouse hover.
If a tooltip does not appear, raise a BrokenPromise.
"""
for
index
,
tab
in
enumerate
(
self
.
q
(
css
=
'#sequence-list > li'
)):
ActionChains
(
self
.
browser
)
.
move_to_element
(
tab
)
.
perform
()
...
...
@@ -89,8 +91,6 @@ class CoursewarePage(CoursePage):
'Tab {index} should appear'
.
format
(
index
=
index
)
)
return
True
@property
def
course_license
(
self
):
"""
...
...
common/test/acceptance/tests/lms/test_lms.py
View file @
902126d5
...
...
@@ -864,7 +864,7 @@ class TooltipTest(UniqueCourseTest):
self
.
course_info_page
.
visit
()
self
.
tab_nav
.
go_to_tab
(
'Courseware'
)
self
.
assertTrue
(
self
.
courseware_page
.
tooltips_displayed
()
)
self
.
courseware_page
.
verify_tooltips_displayed
(
)
@attr
(
'shard_1'
)
...
...
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