package cz.moneta.test.dsl.ufo.operations.ufoOperations.sendingInformationsToClient;

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

import static cz.moneta.test.dsl.ufo.operations.ufoOperations.sendingInformationsToClient.STI701_S002_SendingInformationsToClient.TITLE_OF_PAGE;

@Wait(value = TITLE_OF_PAGE, until = Until.VISIBLE)
public interface STI701_S002_SendingInformationsToClient extends StoreAccessor, WebFlow<STI701_S002_SendingInformationsToClient> {

    String TITLE_OF_PAGE = "STI701_S002_L001";
    String EMAIL_BUTON_XPATH = "//button[contains(@title, 'STI701_S002_I002')]";
    String POST_BUTTON_XPATH = "//button[contains(@title, 'STI701_S002_I003')]";

    @Click(value = EMAIL_BUTON_XPATH, by = Lookup.XPATH)
    STI701_S002_EmailPanel clickEmailPanel();

    @Click(value = POST_BUTTON_XPATH, by = Lookup.XPATH)
    STI701_S002_PostPanel clickPostPanel();
}

