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

import cz.moneta.test.dsl.ufo.banka.pages.insurance.KUL040_S001_EditExpresBusinesInsurancePage;
import cz.moneta.test.harness.support.web.CheckElementPresent;
import cz.moneta.test.harness.support.web.Click;
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.HPO021_S001_ExpresBusinessDetailPage.INSURANCE_KOMEX_DETAIL_CHECK_ELEMENT;

@Wait(value = INSURANCE_KOMEX_DETAIL_CHECK_ELEMENT, waitSecondsForElement = 40)
public interface HPO021_S001_ExpresBusinessDetailPageWithKomexPage extends WebFlow<HPO021_S001_ExpresBusinessDetailPageWithKomexPage> {

    String INSURANCE_KOMEX_DETAIL_CHECK_ELEMENT = "HPO021_S001_L010";
    String EDIT_BUTTON_KOMEX = "HPO021_S001_B017";

    @CheckElementPresent(INSURANCE_KOMEX_DETAIL_CHECK_ELEMENT)
    HPO021_S001_ExpresBusinessDetailPageWithKomexPage checkElementModel();

    @Click(EDIT_BUTTON_KOMEX)
    KUL040_S001_EditExpresBusinesInsurancePage clickEditInsuranceKomex();

}