package cz.moneta.test.dsl.ufo.banka.pages.products.one.click;

import cz.moneta.test.dsl.ufo.banka.pages.main.PSP004_S001_PrintPage;
import cz.moneta.test.harness.support.web.*;

@Wait(value = BAL032_S001_OneClickTomJuniorPage.BAL032_S001_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
public interface BAL032_S001_OneClickTomJuniorPage extends WebFlow<BAL032_S001_OneClickTomJuniorPage> {
    String BAL032_S001_PAGE_LABEL_XPATH = "//div[text()='BAL032_S001']";
    String ACCOUNT_NAME_INPUT = "BAL032_S001_E002";
    String LIMIT_INPUT = "BAL032_S001_E014";
    String CARD_DESIGN_SELECT = "BAL032_S001_C006";
    String CREATE_PRODUCTS_BUTTON = "BAL032_S001_B006";

    @TypeInto(ACCOUNT_NAME_INPUT)
    BAL032_S001_OneClickTomJuniorPage fillAccountName(String AccountName);

    @Select(value = CARD_DESIGN_SELECT, selectByOrder = true)
    BAL032_S001_OneClickTomJuniorPage selectCardDesignByIndex(int index);

    @TypeInto(LIMIT_INPUT)
    BAL032_S001_OneClickTomJuniorPage fillLimit(int limit);

    @Click(CREATE_PRODUCTS_BUTTON)
    PSP004_S001_PrintPage clickCreateProducts();
}
