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

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.common.pages.TIS004_S002_SignerSelectionPage.CONTINUE_BUTTON;
import static cz.moneta.test.dsl.ufo.banka.pages.common.pages.TIS004_S002_SignerSelectionPage.TIS004_S002_PAGE_LABEL_XPATH;

@Wait(value = TIS004_S002_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 90)
@Wait(value = CONTINUE_BUTTON)
public interface TIS004_S002_SignerSelectionPage extends WebFlow<TIS004_S002_SignerSelectionPage> {
    String TIS004_S002_PAGE_LABEL_XPATH = "//div[text()='TIS004_S002']";
    String PAGE_ID = "TIS004_S002_X004";
    String CONTINUE_BUTTON = "TIS004_S002_B001";
    String SIGN_CITIZEN_RADIO = "TIS004_S002_R001_0";

    @Click(CONTINUE_BUTTON)
    TIS004_S002_SignerSelectionPageTransitions clickContinue();

    @Click(SIGN_CITIZEN_RADIO)
    TIS004_S002_SignerSelectionPage chooseCitizen();
}