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

import cz.moneta.test.dsl.ufo.banka.pages.insurance.FLO011_S001_EditExpresInsurancePage;
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;

@Wait(value = HPO014_S001_ExpresPlusDetailInsurancePage.INSURANCE_DETAIL_CHECK_ELEMENT, waitSecondsForElement = 40)
public interface HPO014_S001_ExpresPlusDetailInsurancePage extends WebFlow<HPO014_S001_ExpresPlusDetailInsurancePage>  {

    String INSURANCE_DETAIL_CHECK_ELEMENT = "HPO014_S001_L002";
    String CANCEL_SERVICE_CREDIT_BUTON = "HPO014_S001_I004";
    String CANCEL_EDIT_BUTTON_INS_PLUS = "HPO014_S001_B001";

    @CheckElementPresent(INSURANCE_DETAIL_CHECK_ELEMENT)
    HPO014_S001_ExpresPlusDetailInsurancePage checkElementModel();

    @Click (CANCEL_SERVICE_CREDIT_BUTON)
    HPO014_S001_ExpresPlusDetailInsurancePage clickCancelServiceCredit();

    @Click(CANCEL_EDIT_BUTTON_INS_PLUS)
    FLO011_S001_EditExpresInsurancePage clickCancelEditInsurancePlus();
}