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

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.ib.HPO040_S001_DirectBankingServicesPage.PAGE_DIV_XPATH;

@Wait(value = PAGE_DIV_XPATH, by = Lookup.XPATH, until = Until.VISIBLE)
public interface HPO040_S001_DirectBankingServicesPage extends WebFlow<HPO040_S001_DirectBankingServicesPage> {

    String PAGE_DIV_XPATH = "//div[text()='HPO040_S001']";
    String FIRST_IB_CHECKBOX = "HPO040_S001_H001_1";
    String SETTINGS_IB_BUTTON = "HPO040_S001_B009";
    String RETURN_TO_HKO_BUTTON = "HPO040_S001_B006";

    @Click(FIRST_IB_CHECKBOX)
    HPO040_S001_DirectBankingServicesPage clickFirstIB();

    @Click(SETTINGS_IB_BUTTON)
    ADC045_S001_DetailSettingsIBPage clickSettingsIB();

    @Click(RETURN_TO_HKO_BUTTON)
    HKO101_S001_MainClientPage clickReturnTOHKO();

}
