package cz.moneta.test.dsl.ib.cards.application;

import cz.moneta.test.dsl.ib.IbPageFlow;
import cz.moneta.test.dsl.ib.components.MobileKeyConfirmation;
import cz.moneta.test.harness.support.web.Wait;

import static cz.moneta.test.dsl.ib.cards.application.ApplicationConfirmationPage.PAGE_NAME;


@Wait(PAGE_NAME)
public interface ApplicationConfirmationPage extends IbPageFlow<ApplicationConfirmationPage>,
        MobileKeyConfirmation<ApplicationConfirmationPage> {

    String PAGE_NAME = "//*[@id=\"creditCardNew_2_9\"]/tbody/tr/td/table[1]/tbody/tr/td[text()='Vaše karta']";
    String CONTINUE_BUTTON = "//*[@id=\"mainFrm\"]/table[4]/tbody/tr/td[2]/img";

    ApplicationFinishingPage onApplicationFinishingPage();
}
