package cz.moneta.test.dsl.ufo.cb.landing;

import cz.moneta.test.harness.support.web.*;

import static cz.moneta.test.dsl.ufo.cb.landing.DMS402_S001_DocumentsSearchPage.SEARCH_INPUT;

@Wait(value = SEARCH_INPUT, until = Until.VISIBLE)
public interface DMS402_S001_DocumentsSearchPage extends WebFlow<DMS402_S001_DocumentsSearchPage> {

    String SEARCH_INPUT = "DMS402_S001_E006";
    String OTHER_DOCUMENTS_RADIO_BUTTON_INPUT = "DMS402_S001_R010_5";
    String IC_RADIO_INPUT = "DMS402_S001_R005_3";
    String FIND_DOCUMENTS_BUTTON = "DMS402_S001_B001";

    @Click(value = OTHER_DOCUMENTS_RADIO_BUTTON_INPUT)
    DMS402_S001_DocumentsSearchPage checkOtherDocuments();

    @Click(value = IC_RADIO_INPUT)
    DMS402_S001_DocumentsSearchPage checkIC();

    @TypeInto(SEARCH_INPUT)
    DMS402_S001_DocumentsSearchPage typeDetailForDocument(String documentDetail);

    @Click(FIND_DOCUMENTS_BUTTON)
    DMS401_S002_DocumentsPage clickSearchDocuments();
}
