package cz.moneta.test.dsl.ufo.banka.pages.products.current.account;

import cz.moneta.test.dsl.ufo.banka.pages.main.client.settings.ODS003_S001_AddCodeOfRecommendedPersonPage;
import cz.moneta.test.harness.context.StoreAccessor;
import cz.moneta.test.harness.support.web.*;

import static cz.moneta.test.dsl.ufo.banka.pages.products.current.account.KUL032_S001_MiniFlexiBusinessLimitPage.*;

@Wait(value = KUL032_S001_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
public interface KUL032_S001_MiniFlexiBusinessLimitPage extends WebFlow<KUL032_S001_MiniFlexiBusinessLimitPage>, StoreAccessor {
    String KUL032_S001_PAGE_LABEL_XPATH = "//div[text()='KUL032_S001']";

    String LIMIT_INPUT = "KUL032_S001_E001";

    String BACK_BUTTON = "KUL032_S001_B001";
    String CONTINUE_BUTTON = "KUL032_S001_B002";

    @TypeInto(LIMIT_INPUT)
    @KeyPress(Key.TAB)
    KUL032_S001_MiniFlexiBusinessLimitPage setMiniFlexiLimit(String miniFlexiLimit);

    @Click(CONTINUE_BUTTON)
    ODS003_S001_AddCodeOfRecommendedPersonPage clickContinueToAddCodeOfRecommendedPersonPage();
}