package cz.moneta.test.dsl.ufo.banka.pages.main.components;

import cz.moneta.test.dsl.ufo.banka.pages.ib.ADC001_S001_IbPasswordKeyPage;
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.main.components.ADC001_OBR001_002_IbTypeSelectionPage.ADC001_OBR001_002_PAGE_LABEL_XPATH;
import static cz.moneta.test.dsl.ufo.banka.pages.main.components.ADC001_OBR001_002_IbTypeSelectionPage.OBR001_S001_PAGE_LABEL_XPATH;

@Wait(value = {OBR001_S001_PAGE_LABEL_XPATH, ADC001_OBR001_002_PAGE_LABEL_XPATH}, by = Lookup.XPATH)
public interface ADC001_OBR001_002_IbTypeSelectionPage extends WebFlow<ADC001_OBR001_002_IbTypeSelectionPage> {
    String OBR001_S001_PAGE_LABEL_XPATH = "//div[text()='OBR001_S001']";
    String ADC001_OBR001_002_PAGE_LABEL_XPATH = "//div[text()='ADC001_OBR001_002']";
    String ACTIVE_BUTTON = "OBR001_S001_B003";

    @Click(ACTIVE_BUTTON)
    ADC001_S001_IbPasswordKeyPage clickActiveToIbPage();

}