package cz.moneta.test.dsl.exevido.pages;

import cz.moneta.test.dsl.exevido.ExevidoWebFlow;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Lookup;
import cz.moneta.test.harness.support.web.Wait;

import static cz.moneta.test.dsl.exevido.pages.OutgoingMessagesPage.PAGE_LABEL_XPATH;

@Wait(value = PAGE_LABEL_XPATH, by = Lookup.XPATH)
public interface OutgoingMessagesPage extends ExevidoWebFlow<OutgoingMessagesPage> {

    String PAGE_LABEL_XPATH = "//b[contains(text(), 'Odchozí zprávy dle stavu')]";
    String CREATE_NEW_OUTGOING_MESSAGE_BUTTON = "create_new_outgoing_message";

    @Click(CREATE_NEW_OUTGOING_MESSAGE_BUTTON)
    NewOutgoingMessagePage clickCreateNewOutgoingMessage();

}
