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

import cz.moneta.test.dsl.ufo.banka.pages.main.HPO011_S001_ExpresDetailInsurancePage;
import cz.moneta.test.dsl.ufo.banka.pages.main.HPO011_S001_ExpresDetailPage;
import cz.moneta.test.dsl.ufo.banka.pages.main.HPO014_S001_ExpresPlusDetailInsurancePage;
import cz.moneta.test.harness.support.web.CheckElementPresent;
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;

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

    String PAGE_ID_XPATH = "//div[contains(text(), 'FLO011_OBR001_003')]";
    String INSURANCE_VICTORY_CHECK_ELEMENT = "XXX001_T001_L005";
    String VICTORY_CONFIG_BUTTON = "OBR001_S001_B002";

    @CheckElementPresent(INSURANCE_VICTORY_CHECK_ELEMENT)
    OBR001_S001_L002_InsuranceChangeVictoryPage checkElementModel();

    @Click(VICTORY_CONFIG_BUTTON)
    HPO011_S001_ExpresDetailInsurancePage clickInsuranceChangeVictoryButton();

    @Click(VICTORY_CONFIG_BUTTON)
    HPO011_S001_ExpresDetailPage clickInsuranceCancelVictoryButton();

    @Click(VICTORY_CONFIG_BUTTON)
    HPO014_S001_ExpresPlusDetailInsurancePage clickInsChangeVictoryButtonPlus();

}
