package cz.moneta.test.dsl.ufo.banka.pages.requests;

import cz.moneta.test.dsl.ufo.banka.pages.fon.TIS050_S001_SignerSelectionPage;
import cz.moneta.test.dsl.ufo.banka.pages.loans.CAS001_S001_ScoringPage;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Select;
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.requests.NEP013_S001_RequestCancellationPage.CONFIRM_BUTTON;

@Wait(CONFIRM_BUTTON)
public interface NEP013_S001_RequestCancellationPage extends WebFlow<NEP013_S001_RequestCancellationPage> {

    String CONFIRM_BUTTON = "NEP013_S001_B001";
    String CANCELLATION_REASON_SELECT = "NEP013_S001_C001";

    @Select(CANCELLATION_REASON_SELECT)
    NEP013_S001_RequestCancellationPage selectCancellationReason(String reason);

    @Click(CONFIRM_BUTTON)
    CAS001_S001_ScoringPage clickConfirmButton();

    @Click(CONFIRM_BUTTON)
    TIS050_S001_SignerSelectionPage clickConfirmButtonToSignerSelectionPage();

}