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

import cz.moneta.test.dsl.ufo.banka.pages.main.INK001_S002_ListOfAuthorizationForDirectDebitsPage;
import cz.moneta.test.dsl.ufo.banka.pages.main.SIP001_S002_ListOfSIPOPayments;
import cz.moneta.test.dsl.ufo.banka.pages.main.TRP001_S002_ListOfStandingOrdersPage;
import cz.moneta.test.harness.context.StoreAccessor;
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.POD003_S004_ClientCharged.POD003_S004_PAGE_LABEL_XPATH;

@Wait(value = POD003_S004_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 90)
@Wait(value = POD003_S004_ClientCharged.OK_BUTTON, waitSecondsForElement = 90)
public interface POD003_S004_ClientCharged extends WebFlow<POD003_S004_ClientCharged>, StoreAccessor {

    String POD003_S004_PAGE_LABEL_XPATH = "//div[text()='POD003_S004']";
    String OK_BUTTON = "POD003_S004_B001";

    @Click(OK_BUTTON)
    SIP001_S002_ListOfSIPOPayments clickOk();

    @Click(OK_BUTTON)
    INK001_S002_ListOfAuthorizationForDirectDebitsPage clickOkToListOfAuthorizationForDirectDebitsPage();

    @Click(OK_BUTTON)
    TRP001_S002_ListOfStandingOrdersPage clickOkToListTp();
}
