package cz.moneta.test.dsl.ib.mortgages;

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

import static cz.moneta.test.dsl.ib.mortgages.OverviewOfMortgagesPage.MORTGAGE_CALCULATOR_BUTTON;
import static cz.moneta.test.dsl.ib.mortgages.OverviewOfMortgagesPage.OVERVIEW_OF_MORTGAGES_TITLE;

@Wait({OVERVIEW_OF_MORTGAGES_TITLE, MORTGAGE_CALCULATOR_BUTTON})
public interface OverviewOfMortgagesPage extends IbPageFlow<OverviewOfMortgagesPage>, MainMenu, MortgageLeftMenu {
    String PARENT_FORM_ID = "//div[@id='parentform']";
    String OVERVIEW_OF_MORTGAGES_TITLE = PARENT_FORM_ID + "//img[@alt='Přehled hypoték']";
    String MORTGAGE_CALCULATOR_BUTTON = PARENT_FORM_ID + "//img[@alt='Hypoteční kalkulačka']";
}
