Skip to content
Snippets Groups Projects
Commit 69a69576 authored by Leah Klearman's avatar Leah Klearman
Browse files

Revert "properly initialize CompleteRegistration object with selenium object and global timeout"

This reverts commit 1adbe2f7.
parent 21df1988
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, 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
......
......@@ -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'])
......@@ -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)
......
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