package cz.moneta.test.dsl.ufo.banka.pages.main.components;

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

import static cz.moneta.test.dsl.ufo.banka.pages.main.components.CIF011_S001_EditFoWhenEditingFopPage.*;

@Wait(value = CIF011_S001_PAGE_LABEL_XPATH, by = Lookup.XPATH)
@Wait(SEND_BUTTON)
public interface CIF011_S001_EditFoWhenEditingFopPage extends WebFlow<CIF011_S001_EditFoWhenEditingFopPage> {
    String CIF011_S001_PAGE_LABEL_XPATH = "//div[text()='CIF011_S001']";
    String SEND_BUTTON = "CIF011_S001_B002";
    String MARITAL_STATUS_SELECT = "CIF011_S001_C006";
    String SJM_SELECT = "CIF011_S001_C017";
    String EMAIL_INPUT = "CIF011_S001_U017";
    String POLITICALLY_NOT_EXPOSED_PERSON_RADIO = "CIF011_S001_R003_0";
    String POLITICALLY_EXPOSED_PERSON_RADIO = "CIF011_S001_R003_1";

    @TypeInto(value = EMAIL_INPUT, clear = true)
    CIF011_S001_EditFoWhenEditingFopPage fillEmail(String email);

    @Click(SEND_BUTTON)
    CIF011_S001_EditFoWhenEditingFopPageTransitions clickSend();

    @Select(MARITAL_STATUS_SELECT)
    CIF011_S001_EditFoWhenEditingFopPage selectMaritalStatus(String marital);

    @Select(SJM_SELECT)
    CIF011_S001_EditFoWhenEditingFopPage selectSJM(String SJM);

    @Click(value = POLITICALLY_NOT_EXPOSED_PERSON_RADIO, jsClick = true)
    CIF011_S001_EditFoWhenEditingFopPage clickNotPoliticallyExposedPerson();

    @Click(value = POLITICALLY_EXPOSED_PERSON_RADIO, jsClick = true)
    CIF011_S001_EditFoWhenEditingFopPage clickPoliticallyExposedPerson();

}
