package cz.moneta.test.dsl.ufo.banka.pages.loans.flexikredit;

import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.TypeInto;
import cz.moneta.test.harness.support.web.Wait;
import cz.moneta.test.harness.support.web.WebFlow;

import static cz.moneta.test.dsl.ufo.banka.pages.loans.flexikredit.NFL008_FlexiCreditDeclipPage.LOAN_AMOUNT_INPUT;

@Wait(LOAN_AMOUNT_INPUT)
public interface NFL008_FlexiCreditDeclipPage extends WebFlow<NFL008_FlexiCreditDeclipPage> {

    String LOAN_AMOUNT_INPUT = "NFL008_S001_E001";
    String SEND_BUTTON = "NFL008_S001_B002";

    @TypeInto(LOAN_AMOUNT_INPUT)
    NFL008_FlexiCreditDeclipPage fillLoanAmount(int amount);

    @Click(SEND_BUTTON)
    NFL006_S001_FlexikreditScoringResultPage clickSendButton();

}
