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
8dbf66fb
Commit
8dbf66fb
authored
Jan 22, 2016
by
raeeschachar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed test can create and edit signatories of certificate failing on Chrome
parent
22e01a8c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
common/test/acceptance/pages/studio/settings_certificates.py
+6
-2
common/test/acceptance/tests/studio/test_studio_settings_certificates.py
+1
-0
No files found.
common/test/acceptance/pages/studio/settings_certificates.py
View file @
8dbf66fb
...
...
@@ -13,6 +13,7 @@ import os
from
bok_choy.promise
import
EmptyPromise
from
.course_page
import
CoursePage
from
common.test.acceptance.tests.helpers
import
disable_animations
from
selenium.webdriver
import
ActionChains
class
CertificatesPage
(
CoursePage
):
...
...
@@ -507,8 +508,11 @@ class SignatorySectionPage(CertificatesPage):
"""
Open editing view for the signatory.
"""
self
.
find_css
(
'.edit-signatory'
)
.
first
.
click
()
self
.
mode
=
'edit'
element
=
self
.
q
(
css
=
'.edit-signatory'
)
.
results
[
0
]
mouse_hover_action
=
ActionChains
(
self
.
browser
)
.
move_to_element
(
element
)
mouse_hover_action
.
perform
()
self
.
wait_for_element_visibility
(
'.edit-signatory'
,
'Edit button visibility'
)
element
.
click
()
self
.
wait_for_signatory_edit_view
()
def
delete_signatory
(
self
):
...
...
common/test/acceptance/tests/studio/test_studio_settings_certificates.py
View file @
8dbf66fb
...
...
@@ -193,6 +193,7 @@ class CertificatesTest(StudioCourseTest):
#Refreshing the page, So page have the updated certificate object.
self
.
certificates_page
.
refresh
()
self
.
certificates_page
.
wait_for_page
()
signatory
=
self
.
certificates_page
.
certificates
[
0
]
.
signatories
[
0
]
self
.
assertIn
(
"Updated signatory name"
,
signatory
.
name
)
self
.
assertIn
(
"Update signatory title"
,
signatory
.
title
)
...
...
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