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
5ece6443
Commit
5ece6443
authored
Sep 06, 2013
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix certificates acceptance test after come css changes
parent
ec67bf4b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
lms/djangoapps/courseware/features/certificates.py
+6
-4
No files found.
lms/djangoapps/courseware/features/certificates.py
View file @
5ece6443
...
...
@@ -49,6 +49,8 @@ def select_the_audit_track(step):
create_cert_course
()
register
()
btn_css
=
'input[value="Select Audit"]'
world
.
wait
(
1
)
# TODO remove this after troubleshooting JZ
world
.
css_find
(
btn_css
)
world
.
css_click
(
btn_css
)
...
...
@@ -70,7 +72,7 @@ def select_the_verified_track(step):
@step
(
u'I should see the course on my dashboard$'
)
def
should_see_the_course_on_my_dashboard
(
step
):
course_css
=
'
article.my-course
'
course_css
=
'
li.course-item
'
assert
world
.
is_css_present
(
course_css
)
...
...
@@ -154,7 +156,7 @@ def confirm_details_match(step):
world
.
browser
.
execute_script
(
"window.scrollTo(0,1024)"
)
cb_css
=
'input#confirm_pics_good'
world
.
css_c
he
ck
(
cb_css
)
world
.
css_c
li
ck
(
cb_css
)
assert
world
.
css_find
(
cb_css
)
.
checked
...
...
@@ -187,8 +189,8 @@ def submitted_photos_to_verify_my_identity(step):
@step
(
u'I see that my payment was successful'
)
def
see_that_my_payment_was_successful
(
step
):
world
.
css_find
(
'div
'
)
assert_equal
(
world
.
browser
.
title
,
u'Receipt for Order 1
'
)
title
=
world
.
css_find
(
'div.wrapper-content-main h3.title
'
)
assert_equal
(
title
.
text
,
u'Congratulations! You are now verified on edX.
'
)
@step
(
u'I navigate to my dashboard'
)
...
...
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