diff --git a/automation-tests/123done/tests/test_change_password.py b/automation-tests/123done/tests/test_change_password.py index 8648fe9aa907c7c17f82325d25cd6288cd8ef49f..344b67cabb599960a847b30dbd198a55cd777cae 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, email.verify_user_link) + CompleteRegistration(mozwebqa.selenium, 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 1ac70a8f8fc890b488df5c700a06a28568b190bd..832305c51fac89de8c480e927cafe240f48d29d3 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, email.verify_user_link) + complete_registration = CompleteRegistration(mozwebqa.selenium, 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 be8c97efad722105c3615d447f1a588f9bf6a71b..a08bec8299b543c8f2ed78792f00bfa3b938c7d4 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.selenium, mozwebqa.timeout) + Base.__init__(self, mozwebqa) print "the url" + url self.selenium.get(url)