package cz.moneta.test.dsl.brokerportal.forgottenpassword;

import cz.moneta.test.harness.support.web.*;

import static cz.moneta.test.dsl.brokerportal.forgottenpassword.ForgottenPasswordPage.LOGIN_NAME_INPUT;

@Wait(LOGIN_NAME_INPUT)
public interface ForgottenPasswordPage extends WebFlow<ForgottenPasswordPage>{
    String LOGIN_NAME_INPUT = "//input[@name = 'login']";
    String SEND_BUTTON = "//button[@type = 'submit']";

    @TypeInto(LOGIN_NAME_INPUT)
    ForgottenPasswordPage fillLogin(String login);

    @Click(SEND_BUTTON)
    ForgottenPasswordConfirmPage clickSendButton();
}