def test_persona_test_user_verified_dev(self, mozwebqa): user = BrowserID(mozwebqa.selenium, mozwebqa.timeout).persona_test_user(env='dev') assert user['email'] assert user['password'] assert user['browserid'] == 'https://login.dev.anosrep.org' assert not user.has_key('token')
def test_persona_test_user_unverified_stage(self, mozwebqa): user = BrowserID(mozwebqa.selenium, mozwebqa.timeout).persona_test_user(verified=False, env='stage') assert user['email'] assert user['password'] assert user['browserid'] == 'https://login.anosrep.org' assert user['verifier'] == 'https://login.anosrep.org/verify' assert user.has_key('token')
def test_persona_test_user_verified_prod(self, mozwebqa): user = BrowserID(mozwebqa.selenium, mozwebqa.timeout).persona_test_user() assert user['email'] assert user['password'] assert user['browserid'] == 'https://login.persona.org' assert user['verifier'] == 'https://login.persona.org/verify' assert not user.has_key('token')
def click_login(self): self.selenium.find_element(*self._login_locator).click() return BrowserID(self.testsetup)