Commit e0110bf1 by Jay Zoldak

Change css for payment page for better synchronization.

parent d1ec21ed
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
from lettuce import world, step from lettuce import world, step
from lettuce.django import django_url from lettuce.django import django_url
from course_modes.models import CourseMode from course_modes.models import CourseMode
from selenium.common.exceptions import WebDriverException
from nose.tools import assert_equal from nose.tools import assert_equal
def create_cert_course(): def create_cert_course():
...@@ -161,8 +160,7 @@ def confirm_details_match(step): ...@@ -161,8 +160,7 @@ def confirm_details_match(step):
@step(u'I am at the payment page') @step(u'I am at the payment page')
def at_the_payment_page(step): def at_the_payment_page(step):
world.css_find('input') assert world.css_find('input[name=transactionSignature]')
assert_equal(world.browser.title, u'Payment Form')
@step(u'I submit valid payment information$') @step(u'I submit valid payment information$')
......
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