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.NKK002_OBR001_ConfirmationPage.PAGE_ID;
import static cz.moneta.test.dsl.ufo.banka.pages.cards.credit.NKK002_OBR001_ConfirmationPage.PAGE_NAME;

@Wait(PAGE_ID)
@Wait(value = PAGE_NAME, by = Lookup.XPATH)
public interface NKK002_OBR001_ConfirmationPage extends WebFlow<NKK002_OBR001_ConfirmationPage> {

    String PAGE_ID = "OBR001_S001_X002";
    String PAGE_NAME = "//div[text()='NKK002_OBR001_002']";
    String DO_NOT_CREATE_BUTTON = "OBR001_S001_B003";

    @Click(DO_NOT_CREATE_BUTTON)
    NKK002_OBR001_ConfirmationPageTransitions clickDoNotCreateButton();
}