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

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.insurance.BAL001_S008_ProductsListPage.BAL001_S008_PAGE_LABEL_XPATH;
import static cz.moneta.test.dsl.ufo.banka.pages.insurance.BAL001_S008_ProductsListPage.CONTINUE_BUTTON;

@Wait(value = BAL001_S008_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
@Wait(value = {CONTINUE_BUTTON}, waitSecondsForElement = 60)
public interface BAL001_S008_ProductsListPage extends WebFlow<BAL001_S008_ProductsListPage> {

    String BAL001_S008_PAGE_LABEL_XPATH = "//div[text()='BAL001_S008']";
    String CONTINUE_BUTTON = "BAL001_S008_B004";

    @Click(CONTINUE_BUTTON)
    HKO101_S001_MainClientPage clickContinueButtonAndContinueToMainClientPage();
}
