package cz.moneta.test.dsl.ufo.banka.pages.requests;

import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Select;
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.requests.DUP004_S002_AccountSelectionPage.LAYOUT_DIV;

@Wait(LAYOUT_DIV)
public interface DUP004_S002_AccountSelectionPage extends WebFlow<DUP004_S002_AccountSelectionPage> {

    String LAYOUT_DIV = "DUP004_S002_X002";
    String SAVE_BUTTON = "DUP004_S002_B001";
    String ACCOUNT_SELECT = "DUP004_S002_C001";

    @Select(value = ACCOUNT_SELECT, selectByOrder = true)
    DUP004_S002_AccountSelectionPage selectAccount(int index);

    @Click(SAVE_BUTTON)
    DUP004_S002_AccountSelectionPageTransitions clickSave();

}
