Commit 5a8f9558 by jsa

in acceptance tests, make LMS’ payment buttons more findable.

parent 430ebcd7
...@@ -68,7 +68,7 @@ class VerifiedCertificatePaymentTests(EcommerceApiMixin, EnrollmentApiMixin, Lms ...@@ -68,7 +68,7 @@ class VerifiedCertificatePaymentTests(EcommerceApiMixin, EnrollmentApiMixin, Lms
""" Completes the checkout process via CyberSource. """ """ Completes the checkout process via CyberSource. """
# Click the payment button # Click the payment button
self.browser.find_element_by_css_selector('a#cybersource').click() self.browser.find_element_by_css_selector('#cybersource').click()
self._dismiss_alert() self._dismiss_alert()
...@@ -122,7 +122,7 @@ class VerifiedCertificatePaymentTests(EcommerceApiMixin, EnrollmentApiMixin, Lms ...@@ -122,7 +122,7 @@ class VerifiedCertificatePaymentTests(EcommerceApiMixin, EnrollmentApiMixin, Lms
""" Completes the checkout process via PayPal. """ """ Completes the checkout process via PayPal. """
# Click the payment button # Click the payment button
self.browser.find_element_by_css_selector('a#paypal').click() self.browser.find_element_by_css_selector('#paypal').click()
# Make sure we are checking out with a PayPal account, instead of credit card # Make sure we are checking out with a PayPal account, instead of credit card
try: try:
......
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