package cz.moneta.test.dsl.ufo.banka.pages.main.components;

import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.TypeInto;
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.main.components.WUE001_S001_BuildingSavingsPage.CONTINUE_BUTTON;


@Wait(CONTINUE_BUTTON)
public interface WUE001_S001_BuildingSavingsPage extends WebFlow<WUE001_S001_BuildingSavingsPage> {

    String CONTINUE_BUTTON = "WUE001_S001_B001";
    String ISSUER_INPUT = "WUE001_S001_E017";
    String STATE_OF_BIRTH_BUTTON = "WUE001_S001_P001";
    String CZECH_STATE_OF_TAX_RESIDENCY_IMG = "WUE001_S001_P003";

    @Click(STATE_OF_BIRTH_BUTTON)
    WUE001_S001_BuildingSavingsPage clickStateOfBirthButton();

    @TypeInto(ISSUER_INPUT)
    WUE001_S001_BuildingSavingsPage fillIssuer(String issuer);

    @Click(CONTINUE_BUTTON)
    WUE001_S004_BuildingSavingsParametersPage continueToParametersPage();

    @Click(CZECH_STATE_OF_TAX_RESIDENCY_IMG)
    WUE001_S001_BuildingSavingsPage clickCzechStateTaxResidency();

}
