diff --git a/automation-tests/123done/tests/test_change_password.py b/automation-tests/123done/tests/test_change_password.py index 9c346dbff59a4737fd630171832fb835664c1bce..43e13d454bd26b96d53909b781f4f4513bcc82b5 100644 --- a/automation-tests/123done/tests/test_change_password.py +++ b/automation-tests/123done/tests/test_change_password.py @@ -28,7 +28,7 @@ class TestChangePassword: # Load the BrowserID link from the email in the browser from browserid.pages.complete_registration import CompleteRegistration - CompleteRegistration(mozwebqa.selenium, email.verify_user_link) + CompleteRegistration(mozwebqa, email.verify_user_link) mozwebqa.selenium.get(mozwebqa.server_base_url) from browserid.pages.account_manager import AccountManager diff --git a/automation-tests/123done/tests/test_new_user.py b/automation-tests/123done/tests/test_new_user.py index 832305c51fac89de8c480e927cafe240f48d29d3..1ac70a8f8fc890b488df5c700a06a28568b190bd 100644 --- a/automation-tests/123done/tests/test_new_user.py +++ b/automation-tests/123done/tests/test_new_user.py @@ -28,7 +28,7 @@ class TestNewAccount: # Load the BrowserID link from the email in the browser from browserid.pages.complete_registration import CompleteRegistration - complete_registration = CompleteRegistration(mozwebqa.selenium, email.verify_user_link) + complete_registration = CompleteRegistration(mozwebqa, email.verify_user_link) home_pg.go_to_home_page() Assert.equal(home_pg.logged_in_user_email, user['email']) diff --git a/automation-tests/browserid/pages/complete_registration.py b/automation-tests/browserid/pages/complete_registration.py index a08bec8299b543c8f2ed78792f00bfa3b938c7d4..be8c97efad722105c3615d447f1a588f9bf6a71b 100644 --- a/automation-tests/browserid/pages/complete_registration.py +++ b/automation-tests/browserid/pages/complete_registration.py @@ -25,7 +25,7 @@ class CompleteRegistration(Base): - url - the confirmation url from the email - expect - redirect/success/reset/verify (default redirect) """ - Base.__init__(self, mozwebqa) + Base.__init__(self, mozwebqa.selenium, mozwebqa.timeout) print "the url" + url self.selenium.get(url)