Пример #1
0
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
Пример #2
0
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