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

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.OBR001_InsuranceSelectPage.PAGE_ID_XPATH;

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

    String PAGE_ID_XPATH = "//div[contains(text(), 'BAL001_OBR001_008')]";
    String GROUP_INSURANCE_BUTTON = "OBR001_S001_B003";
    String INDIVIDUAL_INSURANCE_BUTTON = "OBR001_S001_B002";

    @Click(GROUP_INSURANCE_BUTTON)
    PIP001_S001_ChooseInsurancePage clickGroupInsuranceButtonAndContinueToChooseInsurancePage();

    @Click(INDIVIDUAL_INSURANCE_BUTTON)
    IDD001_S001_IndividualInsuranceFormPage clickIndividualInsuranceButton();
}
