package cz.moneta.test.dsl.ufo.banka.pages.products.debit.card;

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.products.debit.card.NPK011_OBR001_001_CardHolderAdditionPage.NPK011_OBR001_001_PAGE_LABEL_XPATH;
import static cz.moneta.test.dsl.ufo.banka.pages.products.debit.card.NPK011_OBR001_001_CardHolderAdditionPage.OBR001_S001_PAGE_LABEL_XPATH;

@Wait(value = {OBR001_S001_PAGE_LABEL_XPATH, NPK011_OBR001_001_PAGE_LABEL_XPATH}, by = Lookup.XPATH)
public interface NPK011_OBR001_001_CardHolderAdditionPage extends WebFlow<NPK011_OBR001_001_CardHolderAdditionPage> {
    String OBR001_S001_PAGE_LABEL_XPATH = "//div[text()='OBR001_S001']";
    String NPK011_OBR001_001_PAGE_LABEL_XPATH = "//div[text()='NPK011_OBR001_001']";
    String HOLDER_OWNER_BUTTON = "OBR001_S001_B001";
    String DIFFERENT_HOLDER_BUTTON = "OBR001_S001_B003";

    @Click(HOLDER_OWNER_BUTTON)
    NPK001_S001_DebitCardRequestPage clickOnHolderOwnerButton();

    @Click(DIFFERENT_HOLDER_BUTTON)
    NPK011_OBR001_002_CardHolderAndOwnerPresentPage clickOnDifferentHolderButton();
}
