diff --git a/pages/login_page.py b/pages/login_page.py index 7b99d52..5ea1c9a 100644 --- a/pages/login_page.py +++ b/pages/login_page.py @@ -25,9 +25,9 @@ class MozTrapLoginPage(MozTrapBasePage): def login(self, email, password): from home_page import MozTrapHomePage - from browserid import BrowserID + from bidpom import BIDPOM self.selenium.find_element(*self._browserid_locator).click() - browser_id = BrowserID(self.selenium, timeout=self.timeout) + browser_id = BIDPOM(self.selenium, timeout=self.timeout) browser_id.sign_in(email, password) WebDriverWait(self.selenium, self.timeout).until( lambda s: self.header.is_user_logged_in) diff --git a/requirements.txt b/requirements.txt index 3c314ab..1888b74 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -browserid +bidpom pytest==2.9.2 pytest-selenium pytest-variables