Commit 7bc997d0 by Jay Zoldak

Change CSS after rebase.

parent e0372b00
...@@ -65,7 +65,7 @@ def select_the_verified_track(step): ...@@ -65,7 +65,7 @@ def select_the_verified_track(step):
select_contribution(32) select_contribution(32)
btn_css = 'input[value="Select Certificate"]' btn_css = 'input[value="Select Certificate"]'
world.css_click(btn_css) world.css_click(btn_css)
assert world.is_css_present('li.current#progress-step0') assert world.is_css_present('section.progress')
@step(u'I should see the course on my dashboard$') @step(u'I should see the course on my dashboard$')
...@@ -77,9 +77,9 @@ def should_see_the_course_on_my_dashboard(step): ...@@ -77,9 +77,9 @@ def should_see_the_course_on_my_dashboard(step):
@step(u'I go to step "([^"]*)"$') @step(u'I go to step "([^"]*)"$')
def goto_next_step(step, step_num): def goto_next_step(step, step_num):
btn_css = { btn_css = {
'1': 'p.m-btn-primary a', '1': '#face_next_button',
'2': '#face_next_button a.next', '2': '#face_next_button',
'3': '#photo_id_next_button a.next', '3': '#photo_id_next_button',
'4': '#pay_button', '4': '#pay_button',
} }
next_css = { next_css = {
......
...@@ -63,7 +63,7 @@ class PaymentFakeView(View): ...@@ -63,7 +63,7 @@ class PaymentFakeView(View):
served by the shopping cart app. served by the shopping cart app.
""" """
if self._is_signature_valid(request.POST): if self._is_signature_valid(request.POST):
return self._payment_page_response(request.POST, '/postpay_callback') return self._payment_page_response(request.POST, '/shoppingcart/postpay_callback/')
else: else:
return render_to_response('shoppingcart/test/fake_payment_error.html') return render_to_response('shoppingcart/test/fake_payment_error.html')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment