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

import cz.moneta.test.dsl.ufo.banka.pages.main.HKO101_S001_MainClientPage;
import cz.moneta.test.harness.support.web.*;

import static cz.moneta.test.dsl.ufo.banka.pages.po.HPO018_S001_AdcPage.ADC_PAGE;

@Wait(value = ADC_PAGE)
public interface HPO018_S001_AdcPage extends WebFlow<HPO018_S001_AdcPage> {
    String ADC_PAGE = "UfoLabel48";
    String ADC_PAGE_CHECK_ELEMENT = "HPO018_S001_L075";
    String EDIT_BUTTON_EM_MODEL = "HPO018_S001_B013";
    String EDIT_PAGE_EM_MODEL = "EMM002_S001_X002";
    String INTERNET_BANKING_ID_DIV = "HPO018_S001_L042";
    String RETURN_TO_CLIENT_BUTTON = "HPO018_S001_I024";
    String INTERNET_BANKING_ID_KEY = "INTERNET_BANKING_ID";

    @CheckElementPresent(ADC_PAGE_CHECK_ELEMENT)
    HPO018_S001_AdcPage checkElementEmModel();

    @StoreElementContent(storeKey = INTERNET_BANKING_ID_KEY, value = INTERNET_BANKING_ID_DIV)
    HPO018_S001_AdcPage storeInternetBanking_ID();

    @Click(EDIT_BUTTON_EM_MODEL)
    HPO018_S001_AdcPage clickEditButtonEmModel();

    @CheckElementPresent(EDIT_PAGE_EM_MODEL)
    HPO018_S001_AdcPage checkEditPageEmModel();

    @Click(RETURN_TO_CLIENT_BUTTON)
    HKO101_S001_MainClientPage clickReturnToClient();
}
