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

import cz.moneta.test.dsl.ufo.banka.pages.main.PSP004_S001_PrintPage;
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.fon.GDP001_S003_ClientConsentsPoPage.*;

@Wait(value = GDP001_S003_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 80)
public interface GDP001_S003_ClientConsentsPoPage extends WebFlow<GDP001_S003_ClientConsentsPoPage> {
    String GDP001_S003_PAGE_LABEL_XPATH = "//div[text()='GDP001_S003']";

    String CONTINUE_BUTTON = "GDP001_S003_B002";
    String YES_CONSENT_RADIO = "GDP001_S003_R004_1";

    @Click(YES_CONSENT_RADIO)
    GDP001_S003_ClientConsentsPoPage clickYes();

    @Click(CONTINUE_BUTTON)
    PSP004_S001_PrintPage continueToPrintPage();

    @Click(CONTINUE_BUTTON)
    TIS050_S001_SignerSelectionPage continueToSignerSelectionPage();
}
