package cz.moneta.test.dsl.ufo.banka.pages.cards.credit;

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.cards.credit.OPN002_OBR001_DoClientSignApproveOfCcActivationPage.PAGE_ID_XPATH;

@Wait(value = PAGE_ID_XPATH, by = Lookup.XPATH)
public interface OPN002_OBR001_DoClientSignApproveOfCcActivationPage extends WebFlow<OPN002_OBR001_DoClientSignApproveOfCcActivationPage> {
    String PAGE_ID_XPATH = "//div[text()='OPN002_OBR001_001']";
    String YES_BUTTON = "OBR001_S001_B003";

    @Click(YES_BUTTON)
    OPN008_S001_SignContractPage clickYesToSignContractPage();
}
