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.dsl.ufo.banka.pages.fon.CIF113_S001_ChangeDataFO;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Lookup;
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.products.sme.KUL024_S001_ListOfPersons.PAGE_LABEL_XPATH;

@Wait(value = PAGE_LABEL_XPATH, by = Lookup.XPATH)
public interface KUL024_S001_ListOfPersons extends WebFlow<KUL024_S001_ListOfPersons> {

    String PAGE_LABEL_XPATH = "//div[text()='KUL024_S001']";
    String FIRST_PERSON_RADIO = "KUL024_S001_G001-0";
    String ESTABLISH_EDIT_CIF_BUTTON = "KUL024_S001_B001";
    String CONTINUE_BUTTON = "KUL024_S001_B002";

    @Click(value = FIRST_PERSON_RADIO, jsClick = true)
    KUL024_S001_ListOfPersons clickFirstPerson();

    @Click(value = ESTABLISH_EDIT_CIF_BUTTON, jsClick = true)
    CIF113_S001_ChangeDataFO clickEstablishEditCif();

    @Click(CONTINUE_BUTTON)
    OBR003_S001_ClientContractSignPage clickContinue();

}

