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.POZ001_S009_ServiceOperationsCreditCardSignConfirmationPage.POZ001_S009_PAGE_LABEL_XPATH;

@Wait(value = POZ001_S009_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
public interface POZ001_S009_ServiceOperationsCreditCardSignConfirmationPage extends WebFlow<POZ001_S009_ServiceOperationsCreditCardSignConfirmationPage> {

    String POZ001_S009_PAGE_LABEL_XPATH = "//div[text()='POZ001_S009']";
    String SIGN_CONFIRMATION_BUTTON = "POZ001_S009_B001";

    @Click(SIGN_CONFIRMATION_BUTTON)
    POZ001_S009_ServiceOperationsCreditCardSignConfirmationTransitions clickSignConfirmed();
}
