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

import cz.moneta.test.dsl.ufo.banka.pages.main.components.BUF051_S001_CreateCurrentAccountPage;
import cz.moneta.test.dsl.ufo.banka.pages.products.sme.KUL001_S001_SelectProductsPage;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Lookup;
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.common.pages.POD045_OBR001_NeedToUpdateCifPage.PAGE_ID_XPATH;

@Wait(value = PAGE_ID_XPATH, waitSecondsForElement = 40, by = Lookup.XPATH)
public interface POD045_OBR001_NeedToUpdateCifPage extends WebFlow<POD045_OBR001_NeedToUpdateCifPage> {

    String NO_UPDATE_NEEDED_BUTTON = "OBR001_S001_B003";
    String PAGE_ID_XPATH = "//div[text()='POD045_OBR001_001']";

    @Click(NO_UPDATE_NEEDED_BUTTON)
    BUF051_S001_CreateCurrentAccountPage clickNoUpdateNeededToCreateAccountPage();

    @Click(NO_UPDATE_NEEDED_BUTTON)
    KUL001_S001_SelectProductsPage clickNoUpdateNeededToSelectProduct();
}
