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
54d4ea8a
Commit
54d4ea8a
authored
Jan 05, 2016
by
Ben Patterson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11120 from edx/benp/fix-edxnotes-seleniumupgrade
Resolving errors for selenium upgrade.
parents
a2e30927
06147a9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
common/test/acceptance/pages/lms/edxnotes.py
+4
-4
No files found.
common/test/acceptance/pages/lms/edxnotes.py
View file @
54d4ea8a
...
...
@@ -384,7 +384,7 @@ class EdxNotesUnitPage(CoursePage):
Moves mouse to the element that matches `selector(str)`.
"""
body
=
self
.
q
(
css
=
selector
)[
0
]
ActionChains
(
self
.
browser
)
.
move_to_element
(
body
)
.
release
()
.
perform
()
ActionChains
(
self
.
browser
)
.
move_to_element
(
body
)
.
perform
()
return
self
def
click
(
self
,
selector
):
...
...
@@ -532,7 +532,7 @@ class EdxNoteHighlight(NoteChild):
"""
Creates selection for the element and clicks `add note` button.
"""
ActionChains
(
self
.
browser
)
.
double_click
(
self
.
element
)
.
release
()
.
perform
()
ActionChains
(
self
.
browser
)
.
double_click
(
self
.
element
)
.
perform
()
self
.
wait_for_adder_visibility
()
self
.
q
(
css
=
self
.
_bounded_selector
(
self
.
ADDER_SELECTOR
))
.
first
.
click
()
self
.
wait_for_editor_visibility
()
...
...
@@ -542,7 +542,7 @@ class EdxNoteHighlight(NoteChild):
"""
Clicks on the highlighted text.
"""
ActionChains
(
self
.
browser
)
.
move_to_element
(
self
.
element
)
.
click
()
.
release
()
.
perform
()
ActionChains
(
self
.
browser
)
.
move_to_element
(
self
.
element
)
.
click
()
.
perform
()
return
self
def
click_on_viewer
(
self
):
...
...
@@ -556,7 +556,7 @@ class EdxNoteHighlight(NoteChild):
"""
Hover over highlighted text -> shows note.
"""
ActionChains
(
self
.
browser
)
.
move_to_element
(
self
.
element
)
.
release
()
.
perform
()
ActionChains
(
self
.
browser
)
.
move_to_element
(
self
.
element
)
.
perform
()
self
.
wait_for_viewer_visibility
()
return
self
...
...
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