Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
5ece6443
Commit
5ece6443
authored
11 years ago
by
Jay Zoldak
Browse files
Options
Downloads
Patches
Plain Diff
Fix certificates acceptance test after come css changes
parent
ec67bf4b
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lms/djangoapps/courseware/features/certificates.py
+6
-4
6 additions, 4 deletions
lms/djangoapps/courseware/features/certificates.py
with
6 additions
and
4 deletions
lms/djangoapps/courseware/features/certificates.py
+
6
−
4
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
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment