package cz.moneta.test.dsl.ufo.banka.pages.cards.credit;

import cz.moneta.test.dsl.ufo.banka.pages.cards.credit.service.POZ001_S008_BlockingPage;
import cz.moneta.test.dsl.ufo.banka.pages.cards.credit.service.POZ001_S012_GeneratePinForCreditCardPage;
import cz.moneta.test.dsl.ufo.banka.pages.fon.ADC018_S001_EditOfMobileNumForAdcAndCreditCardPage;
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.cards.credit.POZ001_S007_CreditCardServiceOperationsPage.POZ001_S007_PAGE_LABEL_XPATH;

@Wait(value = POZ001_S007_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
public interface POZ001_S007_CreditCardServiceOperationsPage extends WebFlow<POZ001_S007_CreditCardServiceOperationsPage> {

    String POZ001_S007_PAGE_LABEL_XPATH = "//div[text()='POZ001_S007']";
    String CONTACT_MOBILE_NUMBER_BUTTON = "POZ001_S007_B011";
    String DAILY_LIMITS_BUTTON = "POZ001_S007_B008";
    String BLOCK_CARD_BUTTON = "POZ001_S007_B004";
    String GENERATE_PIN_COPY_BUTTON = "POZ001_S007_B003";

    @Click(CONTACT_MOBILE_NUMBER_BUTTON)
    ADC018_S001_EditOfMobileNumForAdcAndCreditCardPage clickContactMobileNumber();

    @Click(CONTACT_MOBILE_NUMBER_BUTTON)
    POZ016_S001_Change3dSecureNumberOnMbcPage clickContactMobileNumberForMbc();

    @Click(DAILY_LIMITS_BUTTON)
    POZ001_S008_BlockingPage clickDailyLimits();

    @Click(BLOCK_CARD_BUTTON)
    POZ001_S008_BlockingPage clickBlockMenu();

    @Click(GENERATE_PIN_COPY_BUTTON)
    POZ001_S012_GeneratePinForCreditCardPage clickGeneratePin();
}