def testRecoveryField_phoneNumber_7(setUp): loginForm = LoginFormPage(setUp) uiHelper = UiHelper(setUp) loginForm.openLoginForm() loginForm.clickForgotPassButton() loginForm.inputRecoveryField("+79191234567") loginForm.clickRecoveryButtonNext() element = uiHelper.waitVisibleElementByXPATH( loginForm.elements["titleNotFindContract"]) assert (element) == element
def testRecoveryField_email_10(setUp): loginForm = LoginFormPage(setUp) uiHelper = UiHelper(setUp) loginForm.openLoginForm() loginForm.clickForgotPassButton() loginForm.inputRecoveryField("*****@*****.**") loginForm.clickRecoveryButtonNext() element = uiHelper.waitVisibleElementByXPATH( loginForm.elements["titleNotFindContract"]) assert (element) == element