package cz.moneta.test.dsl.hypos.pages.contract.lifeinsurance;

import cz.moneta.test.dsl.hypos.components.Menu;
import cz.moneta.test.dsl.hypos.pages.HyposPageFlow;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Wait;

import static cz.moneta.test.dsl.hypos.pages.contract.lifeinsurance.LifeInsuranceDetailPage.LIFE_INSURANCE_EDIT_BUTTON;


@Wait(LIFE_INSURANCE_EDIT_BUTTON)
public interface LifeInsuranceDetailPage extends HyposPageFlow<LifeInsuranceDetailPage>, Menu {
    String LIFE_INSURANCE_EDIT_BUTTON = "//a[contains(text(),'Upravit pojištění')]";

    @Click(LIFE_INSURANCE_EDIT_BUTTON)
    LifeInsuranceEditPage clickLifeInsuranceEditButton();
}