Merge pull request #14985 from open-craft/jill/update-registration-login

ENT-332/ENT-333 Updates Register and Login as per new design
This commit is contained in:
Brittney Exline
2017-05-12 11:07:10 -04:00
committed by GitHub
19 changed files with 175 additions and 171 deletions

View File

@@ -220,7 +220,7 @@ class CombinedLoginAndRegisterPage(PageObject):
if favorite_movie:
self.q(css="#register-favorite_movie").fill(favorite_movie)
if terms_of_service:
self.q(css="#register-honor_code").click()
self.q(css="label[for='register-honor_code']").click()
# Submit it
self.q(css=".register-button").click()

View File

@@ -341,7 +341,7 @@ class RegisterFromCombinedPageTest(UniqueCourseTest):
# Verify that the expected errors are displayed.
errors = self.register_page.wait_for_errors()
self.assertIn(u'Please enter your Public username.', errors)
self.assertIn(u'Please enter your Public Username.', errors)
self.assertIn(
u'You must agree to the édX Terms of Service and Honor Code',
errors