package cz.moneta.test.dsl.ufo.operations.client.creditcard;

import cz.moneta.test.dsl.ufo.operations.client.product.ProductActivationResultPage;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Wait;
import cz.moneta.test.harness.support.web.WebFlow;

import static cz.moneta.test.dsl.ufo.operations.client.creditcard.SCO702_S006_ApplicationConfirmationPage.OK_BUTTON;
import static cz.moneta.test.dsl.ufo.operations.client.creditcard.SCO702_S006_ApplicationConfirmationPage.PAGE_NAME;

@Wait(value = {OK_BUTTON, PAGE_NAME}, waitSecondsForElement = 160)
public interface SCO702_S006_ApplicationConfirmationPage extends  WebFlow<SCO702_S006_ApplicationConfirmationPage> {
    String PAGE_NAME = "SCO702_S006_L252";
    String OK_BUTTON = "SCO702_S006_B002";

    @Click(OK_BUTTON)
    ProductActivationResultPage continueToProductActivationResult();

}