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

import cz.moneta.test.dsl.ufo.banka.pages.cards.credit.OPN008_S001_SignContractPage;
import cz.moneta.test.dsl.ufo.banka.pages.main.TIS051_OBR001_ContractDocumentationPage;
import cz.moneta.test.dsl.ufo.banka.pages.main.client.settings.PVX002_S002_AccountDispositionOwnerPage;
import cz.moneta.test.dsl.ufo.banka.pages.products.current.account.BUF001_S001_CurrentAccountPage;
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.PRP002_OBR001_PrintSpecialConditionsPage.PAGE_ID_XPATH;

@Wait(value = PAGE_ID_XPATH, waitSecondsForElement = 200, by = Lookup.XPATH)
public interface PRP002_OBR001_PrintSpecialConditionsPage extends WebFlow<BUF001_S001_CurrentAccountPage> {

    String PAGE_ID_XPATH = "//div[text()='TIS051_OBR001_003_(S005)']";
    String CONTINUE_BUTTON = "OBR001_S001_B003";

    @Click(CONTINUE_BUTTON)
    PVX002_S002_AccountDispositionOwnerPage continueToDispositionOwnerPage();

    @Click(CONTINUE_BUTTON)
    TIS051_OBR001_ContractDocumentationPage continueToContractDocumentationPage();

    @Click(CONTINUE_BUTTON)
    BAL020_OBR002_GeneralContractAndDispositionPage continueToGeneralContractAndDispositionPage();

    @Click(CONTINUE_BUTTON)
    TIS051_OBR001_ContractDocumentationPage clickSignedSpecialConditions();

    @Click(CONTINUE_BUTTON)
    PRP002_OBR001_PrintSpecialConditionsPageTransitions clickContinue();

    @Click(CONTINUE_BUTTON)
    OPN008_S001_SignContractPage onSignContractPage();
}
