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.DUP004_S004_CreditCardRepaymentMethodConfirmation.PAGE_ID_XPATH;

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

    String PAGE_ID_XPATH = "//div[contains(text(),'DUP004_S004')]";
    String OK_BUTTON = "DUP004_S004_B001";

    @Click(OK_BUTTON)
    DUP004_S004_CreditCardRepaymentMethodConfirmationTransitions clickOk();

}