Skip to content
Snippets Groups Projects
Commit 1adbe2f7 authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

properly initialize CompleteRegistration object with selenium object and global timeout

parent 35a33462
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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'])
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment