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

import cz.moneta.test.dsl.ufo.banka.pages.main.HKO101_S001_MainClientPage;
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.adc.HPO008_OBR001_001_InfoPage.PAGE_ID_XPATH;

@Wait(value = PAGE_ID_XPATH, waitSecondsForElement = 40, by = Lookup.XPATH)
public interface HPO008_OBR001_001_InfoPage extends WebFlow<HPO008_OBR001_001_InfoPage> {

    String OK_BUTTON = "OBR001_S001_B002";
    String PAGE_ID_XPATH = "//div[text()='HPO008_OBR001_001_(HPO008_S003)']";

    @Click(OK_BUTTON)
    HKO101_S001_MainClientPage returnHKO();
}