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

import cz.moneta.test.dsl.ufo.banka.pages.insurance.PIP001_S001_ChooseInsurancePage;
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.products.insurance.BAL001_OBR001_008_InsuranceTypeSelectionPage.BAL001_OBR001_008_PAGE_LABEL_XPATH;
import static cz.moneta.test.dsl.ufo.banka.pages.products.insurance.BAL001_OBR001_008_InsuranceTypeSelectionPage.OBR001_S001_PAGE_LABEL_XPATH;

@Wait(value = {OBR001_S001_PAGE_LABEL_XPATH, BAL001_OBR001_008_PAGE_LABEL_XPATH}, by = Lookup.XPATH)
public interface BAL001_OBR001_008_InsuranceTypeSelectionPage extends WebFlow<BAL001_OBR001_008_InsuranceTypeSelectionPage> {
    String OBR001_S001_PAGE_LABEL_XPATH = "//div[text()='OBR001_S001']";
    String BAL001_OBR001_008_PAGE_LABEL_XPATH = "//div[text()='BAL001_OBR001_008']";
    String GROUP_BUTTON = "OBR001_S001_B003";

    @Click(GROUP_BUTTON)
    PIP001_S001_ChooseInsurancePage clickGroupButton();

}
