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

import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Lookup;
import cz.moneta.test.harness.support.web.Page;
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.fon.CIF049_OBR001_001_ClientFilledOnlineRequestPage.PAGE_ID_XPATH;

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

    String PAGE_ID_XPATH = "//div[contains(text(), 'CIF049_OBR001_001')]";
    String CHECK_AND_CREATE_CLIENT_BUTTON = "OBR001_S001_B002";

    @Click(CHECK_AND_CREATE_CLIENT_BUTTON)
    @Page(CIF111_S016_CreateNewCifPage.class)
    CIF111_S016_CreateNewCifPage clickCheckAndCreateNewCustomer();

}
