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

import cz.moneta.test.dsl.ufo.banka.pages.cards.debit.HPO009_S001_DebitCardDetailPage;
import cz.moneta.test.dsl.ufo.banka.pages.common.pages.OBR001_S001_PrintInstructionPage;
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.Wait;
import cz.moneta.test.harness.support.web.WebFlow;

import static cz.moneta.test.dsl.ufo.banka.pages.fon.TIS050_S002_SignerSelectionPage.*;

@Wait(value = {CONTINUE_BUTTON}, waitSecondsForElement = 30)
public interface TIS050_S002_SignerSelectionPage extends WebFlow<TIS050_S002_SignerSelectionPage> {

    String CONTINUE_BUTTON = "TIS050_S002_B001";
    String FOP_SIGNED_PERSONALLY_RADIO = "TIS050_S002_R004_0";
    String PHYSICAL_SIGNATURE_RADIO2 = "TIS050_S002_R002_3";

    @Click(value = FOP_SIGNED_PERSONALLY_RADIO, jsClick = true)
    @Click(value = PHYSICAL_SIGNATURE_RADIO2, jsClick = true)
    @Click(CONTINUE_BUTTON)
    OBR001_S001_PrintInstructionPage clickSignedPersonallyAndContinue();

    @Click(value = FOP_SIGNED_PERSONALLY_RADIO, jsClick = true)
    @Click(value = PHYSICAL_SIGNATURE_RADIO2, jsClick = true)
    @Click(CONTINUE_BUTTON)
    PSP004_S001_PrintPage clickSignedPersonallyAndContinueToPrint();

    @Click(value = FOP_SIGNED_PERSONALLY_RADIO, jsClick = true)
    @Click(CONTINUE_BUTTON)
    PSP004_S001_PrintPage clickSignedAndContinueToPrintPage();

    @Click(value = FOP_SIGNED_PERSONALLY_RADIO, jsClick = true)
    @Click(CONTINUE_BUTTON)
    HPO009_S001_DebitCardDetailPage clickSignedAndContinueToCardDetailPage();
}
