package cz.moneta.test.dsl.ib.insurance.electronicpayment;

import cz.moneta.test.dsl.ib.IbPageFlow;
import cz.moneta.test.dsl.ib.components.MainMenu;
import cz.moneta.test.dsl.ib.insurance.InsurancePage;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Wait;

import static cz.moneta.test.dsl.ib.insurance.electronicpayment.ElectronicPaymentInsuranceConfirmationPage.LIST_INSURANCE_BUTTON;

@Wait(LIST_INSURANCE_BUTTON)
public interface ElectronicPaymentInsuranceConfirmationPage extends IbPageFlow<ElectronicPaymentInsuranceConfirmationPage>, MainMenu {

    String LIST_INSURANCE_BUTTON = "//img[contains(@src, 'prehled-pojisteni')]";

    @Click(LIST_INSURANCE_BUTTON)
    InsurancePage clickListInsurace();
}
