package cz.moneta.test.dsl.ufo.operations.ufoOperations.contactForwarding.panels;

import cz.moneta.test.dsl.ufo.operations.client.clientDetail.STS701_S002_ClientDetailPage;
import cz.moneta.test.dsl.ufo.operations.ufoOperations.contactForwarding.XCM701_S001_ContactForwardingPage;
import cz.moneta.test.harness.support.web.*;

import static cz.moneta.test.dsl.ufo.operations.ufoOperations.contactForwarding.panels.XCM701_S001_FutureOpportunitiesPanel.SEND_BUTTON;

@Wait(value = SEND_BUTTON, until = Until.VISIBLE)
public interface XCM701_S001_FutureOpportunitiesPanel extends XCM701_S001_ContactForwardingPage {

    String INTEREST_IN_SELECT = "XCM701_S001_C009";
    String CALENDAR_INPUT = "XCM701_S001_E024";
    String NOTE_INPUT = "XCM701_S001_M006";
    String SEND_BUTTON = "XCM701_S001_B004";

    @Select(INTEREST_IN_SELECT)
    XCM701_S001_FutureOpportunitiesPanel selectInterestIn(String interestIn);

    @TypeInto(CALENDAR_INPUT)
    XCM701_S001_FutureOpportunitiesPanel fillDate(String date);

    @TypeInto(NOTE_INPUT)
    XCM701_S001_FutureOpportunitiesPanel fillNote(String note);

    @Click(SEND_BUTTON)
    STS701_S002_ClientDetailPage clickSend();

}