package cz.moneta.test.dsl.ufo.banka.pages.products.sme;

import cz.moneta.test.dsl.ufo.banka.pages.cards.debit.OBR003_S001_ClientContractSignPage;
import cz.moneta.test.harness.support.web.*;

import static cz.moneta.test.dsl.ufo.banka.pages.products.sme.SMA009_S001_BankerRepresentationForVerification.SMA009_S001_PAGE_LABEL_XPATH;

@Wait(value = SMA009_S001_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 360)
public interface SMA009_S001_BankerRepresentationForVerification extends WebFlow<SMA009_S001_BankerRepresentationForVerification> {
    String SMA009_S001_PAGE_LABEL_XPATH = "//div[text()='SMA009_S001']";
    String STATE_BANKER_NAME_INPUT = "SMA009_S001_E001";
    String FIRST_SSO_BANKER_RADIO = "SMA009_S001_G001-0";
    String SEARCH_BANKER_BUTTON = "SMA009_S001_B002";
    String RETURN_TO_APPLICATIONS_LIST_BUTTON = "SMA009_S001_B003";
    String CONTINUE_BUTTON = "SMA009_S001_B004";

    @TypeInto(STATE_BANKER_NAME_INPUT)
    SMA009_S001_BankerRepresentationForVerification fillBankerName(String bankerName);

    @Click(SEARCH_BANKER_BUTTON)
    SMA009_S001_BankerRepresentationForVerification clickSearchBanker();

    @Click(FIRST_SSO_BANKER_RADIO)
    SMA009_S001_BankerRepresentationForVerification clickFirstBanker();

    @Click(RETURN_TO_APPLICATIONS_LIST_BUTTON)
    SMA009_S001_BankerRepresentationForVerification clickReturnToApplicationsList();

    @Click(CONTINUE_BUTTON)
    OBR003_S001_ClientContractSignPage clickContinue();

}
