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

import cz.moneta.test.dsl.ufo.banka.pages.main.client.settings.ODS003_S001_AddCodeOfRecommendedPersonPage;
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.PVX011_OBR001_ConfirmationOfSignatureOwnerEmpowermentPage.PAGE_ID_XPATH;

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

    String CONTINUE_BUTTON = "OBR001_S001_B003";
    String PAGE_ID_XPATH = "//div[text()='PVX011_OBR001_001_(PVX011_S001)' or text()='NPV016_OBR001_008']";

    @Click(CONTINUE_BUTTON)
    ODS003_S001_AddCodeOfRecommendedPersonPage clickClientAgreedAndSignedEmpowerment();

}
